]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Fix mute-LED GPIO setup for HP Mini 210
authorTakashi Iwai <tiwai@suse.de>
Thu, 26 Jul 2012 06:17:20 +0000 (08:17 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 26 Jul 2012 06:21:53 +0000 (08:21 +0200)
commit19770b13f78bc8c48155129539585eb6fba02b32
tree89ad39e7ec6c17827a60808fb4839bb5a40b7e7e
parentd8b2e72b42ba1db7868fec804010a594bd9a731c
ALSA: hda - Fix mute-LED GPIO setup for HP Mini 210

BIOS on HP Mini 210 doesn't provide the proper "HP_Mute_LED" DMI
string, thus the driver doesn't initialize the GPIO, too.  In the
earlier kernel, the driver falls back to GPIO1, but since 3.3 we've
stopped this due to other wrongly advertised machines.

For fixing this particular case, add a new model type to specify the
default polarity explicitly so that the fallback to GPIO1 is handled.

Bugzilla: https://bugzilla.novell.com/show_bug.cgi?id=772923

Cc: <stable@vger.kernel.org> [v3.3+]
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_sigmatel.c