Skip to content

Commit

Permalink
ALSA: hda - Fix missing unsol event handler in some codec drivers
Browse files Browse the repository at this point in the history
This resulted in non-working auto-mute behavior, of course...

Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Takashi Iwai committed Jan 18, 2013
1 parent 36c9db7 commit 8a6c21a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions sound/pci/hda/patch_analog.c
Original file line number Diff line number Diff line change
Expand Up @@ -595,6 +595,7 @@ static const struct hda_codec_ops ad198x_auto_patch_ops = {
.build_pcms = snd_hda_gen_build_pcms,
.init = snd_hda_gen_init,
.free = ad198x_free,
.unsol_event = snd_hda_jack_unsol_event,
#ifdef CONFIG_PM
.check_power_status = snd_hda_gen_check_power_status,
.suspend = ad198x_suspend,
Expand Down
1 change: 1 addition & 0 deletions sound/pci/hda/patch_ca0110.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ static const struct hda_codec_ops ca0110_patch_ops = {
.build_pcms = snd_hda_gen_build_pcms,
.init = snd_hda_gen_init,
.free = snd_hda_gen_free,
.unsol_event = snd_hda_jack_unsol_event,
};

static int ca0110_parse_auto_config(struct hda_codec *codec)
Expand Down
1 change: 1 addition & 0 deletions sound/pci/hda/patch_cmedia.c
Original file line number Diff line number Diff line change
Expand Up @@ -576,6 +576,7 @@ static const struct hda_codec_ops cmi_auto_patch_ops = {
.build_pcms = snd_hda_gen_build_pcms,
.init = snd_hda_gen_init,
.free = snd_hda_gen_free,
.unsol_event = snd_hda_jack_unsol_event,
};

static int cmi_parse_auto_config(struct hda_codec *codec)
Expand Down

0 comments on commit 8a6c21a

Please sign in to comment.