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)
commita3e199732b8e2b272e82cc1ccc49c35239ed6c5a
tree89ad39e7ec6c17827a60808fb4839bb5a40b7e7e
parentbc733d495267a23ef8660220d696c6e549ce30b3
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