ALSA: hda - Always call standard unsolicited event for Realtek codecs
authorDavid Henningsson <david.henningsson@canonical.com>
Thu, 5 Jul 2012 10:00:12 +0000 (12:00 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 5 Jul 2012 10:22:47 +0000 (12:22 +0200)
commita7a0a64daba5105215b79fe27b2d1ebbdcf5eebb
tree17cd7630dcb708e99a68e8ecf2c259557f3499a5
parentf68d891d85c8f9ab1af663ed3ceac18ad58dbabe
ALSA: hda - Always call standard unsolicited event for Realtek codecs

With the model parsers out of the way, we have no custom unsol
events to worry about, we can therefore simplify the code.

In addition, this fixes a bug on the ASUS TC710, which has only
a headphone jack and a mic jack, but no internal mic or speakers.
Therefore the unsol_event pointer was not set, and as a result,
the jack kcontrols were not correctly updated.

BugLink: https://bugs.launchpad.net/bugs/1021192
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c