ALSA: hda - Fix conflict of Mic Boot controls
authorTakashi Iwai <tiwai@suse.de>
Fri, 17 Dec 2010 14:23:41 +0000 (15:23 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 17 Dec 2010 14:23:41 +0000 (15:23 +0100)
commit53e8c3239bcc7b89c76179fd33fb6faa3413c00d
tree6d0d83c659624c84173274161251edcfb4cccd2a
parentac612407932be18697b5ae9da0a80f138b8bea8e
ALSA: hda - Fix conflict of Mic Boot controls

Due to the recent change for multiple mics assignment, we need to handle
the index of each Mic Boost control respectively.  Otherwise the driver
gets the control element conflicts, and gives the unsable state.

Reference: kernel bug 25002
https://bugzilla.kernel.org/show_bug.cgi?id=25002

Reported-and-tested-by: Adam Williamson <awilliam@redhat.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c