summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_analog.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2013-01-18 07:51:17 +0100
committerTakashi Iwai <tiwai@suse.de>2013-01-18 07:57:46 +0100
commit8a6c21aee8ab94c35e9db7a4ad35cfeb94f57d59 (patch)
tree28419460b5c70bec6fa6047cd028353fea8d12ba /sound/pci/hda/patch_analog.c
parent36c9db7a1aca3396b26004a3c41f27e2b735536f (diff)
downloadop-kernel-dev-8a6c21aee8ab94c35e9db7a4ad35cfeb94f57d59.zip
op-kernel-dev-8a6c21aee8ab94c35e9db7a4ad35cfeb94f57d59.tar.gz
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/pci/hda/patch_analog.c')
-rw-r--r--sound/pci/hda/patch_analog.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_analog.c b/sound/pci/hda/patch_analog.c
index 02fe0d1..6feaec4 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 = {
.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,
OpenPOWER on IntegriCloud