]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Aug 2012 15:31:52 +0000 (08:31 -0700)
commit09f7d3b6fa3511eb0975fb40cda48f032942f49d
tree0933759c1c4c4aa1fb92cb9d0ef9589027a5e3dc
parentac1d1b446e2e93305611126caa2252c8243f087f
ALSA: hda - Fix mute-LED GPIO setup for HP Mini 210

commit a3e199732b8e2b272e82cc1ccc49c35239ed6c5a upstream.

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

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/pci/hda/patch_sigmatel.c