diff options
author | Takashi Iwai <tiwai@suse.de> | 2013-01-18 01:51:17 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-01-18 01:57:46 -0500 |
commit | 8a6c21aee8ab94c35e9db7a4ad35cfeb94f57d59 (patch) | |
tree | 28419460b5c70bec6fa6047cd028353fea8d12ba /sound | |
parent | 36c9db7a1aca3396b26004a3c41f27e2b735536f (diff) |
ALSA: hda - Fix missing unsol event handler in some codec drivers
This resulted in non-working auto-mute behavior, of course...
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/hda/patch_analog.c | 1 | ||||
-rw-r--r-- | sound/pci/hda/patch_ca0110.c | 1 | ||||
-rw-r--r-- | sound/pci/hda/patch_cmedia.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_analog.c b/sound/pci/hda/patch_analog.c index 02fe0d1da6e0..6feaec4cd6b9 100644 --- a/sound/pci/hda/patch_analog.c +++ b/sound/pci/hda/patch_analog.c | |||
@@ -595,6 +595,7 @@ static const struct hda_codec_ops ad198x_auto_patch_ops = { | |||
595 | .build_pcms = snd_hda_gen_build_pcms, | 595 | .build_pcms = snd_hda_gen_build_pcms, |
596 | .init = snd_hda_gen_init, | 596 | .init = snd_hda_gen_init, |
597 | .free = ad198x_free, | 597 | .free = ad198x_free, |
598 | .unsol_event = snd_hda_jack_unsol_event, | ||
598 | #ifdef CONFIG_PM | 599 | #ifdef CONFIG_PM |
599 | .check_power_status = snd_hda_gen_check_power_status, | 600 | .check_power_status = snd_hda_gen_check_power_status, |
600 | .suspend = ad198x_suspend, | 601 | .suspend = ad198x_suspend, |
diff --git a/sound/pci/hda/patch_ca0110.c b/sound/pci/hda/patch_ca0110.c index 8d093254c204..db7635cd8255 100644 --- a/sound/pci/hda/patch_ca0110.c +++ b/sound/pci/hda/patch_ca0110.c | |||
@@ -36,6 +36,7 @@ static const struct hda_codec_ops ca0110_patch_ops = { | |||
36 | .build_pcms = snd_hda_gen_build_pcms, | 36 | .build_pcms = snd_hda_gen_build_pcms, |
37 | .init = snd_hda_gen_init, | 37 | .init = snd_hda_gen_init, |
38 | .free = snd_hda_gen_free, | 38 | .free = snd_hda_gen_free, |
39 | .unsol_event = snd_hda_jack_unsol_event, | ||
39 | }; | 40 | }; |
40 | 41 | ||
41 | static int ca0110_parse_auto_config(struct hda_codec *codec) | 42 | static int ca0110_parse_auto_config(struct hda_codec *codec) |
diff --git a/sound/pci/hda/patch_cmedia.c b/sound/pci/hda/patch_cmedia.c index 04dd3b6b7db5..087cabbcf25c 100644 --- a/sound/pci/hda/patch_cmedia.c +++ b/sound/pci/hda/patch_cmedia.c | |||
@@ -576,6 +576,7 @@ static const struct hda_codec_ops cmi_auto_patch_ops = { | |||
576 | .build_pcms = snd_hda_gen_build_pcms, | 576 | .build_pcms = snd_hda_gen_build_pcms, |
577 | .init = snd_hda_gen_init, | 577 | .init = snd_hda_gen_init, |
578 | .free = snd_hda_gen_free, | 578 | .free = snd_hda_gen_free, |
579 | .unsol_event = snd_hda_jack_unsol_event, | ||
579 | }; | 580 | }; |
580 | 581 | ||
581 | static int cmi_parse_auto_config(struct hda_codec *codec) | 582 | static int cmi_parse_auto_config(struct hda_codec *codec) |