]> 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)
commitfd5cfeddf666175ec1debb8ee34d57bfb04be606
tree89ad39e7ec6c17827a60808fb4839bb5a40b7e7e
parent0595ccb4ba068a8f2aba91d4b2c68a2d6711dd88
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