]> Pileus Git - ~andy/linux/commit
ALSA: hda/realtek - Avoid conflict of unsol-events with static quirks
authorTakashi Iwai <tiwai@suse.de>
Thu, 19 Jan 2012 11:10:29 +0000 (12:10 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 19 Jan 2012 11:10:29 +0000 (12:10 +0100)
commitf21d78e2698b6380a5387461e3b126bb2dee23aa
treea6d580a92a6f8f3e2af7ca6bf53bf27749a60448
parentb90bf1de7cb65e7f61798fcfbcf74ae72207b0dc
ALSA: hda/realtek - Avoid conflict of unsol-events with static quirks

The recently added jack-kctl support sets the unsol event tags
dynamically, while static quirks usually set the fixed tags in the
init_verbs array.  Due to this conflict, the own unsol event handler
can't retrieve the tag and handle it properly any more.

For fixing this, avoid calling snd_hda_jack_add_kctls() for static
quirks, and always let them use own handlers instead of the standard
one for the auto-pareser.

Reported-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/alc880_quirks.c
sound/pci/hda/alc882_quirks.c
sound/pci/hda/patch_realtek.c