]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda/sigmatel - Fix inverted mute LED
authorTakashi Iwai <tiwai@suse.de>
Thu, 19 Apr 2012 10:04:03 +0000 (12:04 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 19 Apr 2012 10:04:03 +0000 (12:04 +0200)
commitcca1e343f25641ca3cebd1c43a1ff0ffbdf34c62
tree9a065c1dfe64353d9954bafd9ffbf647c8d783f0
parenta44a27cf90102beab78d7b9013533f95c73e5cf5
ALSA: hda/sigmatel - Fix inverted mute LED

While refactoring the mute-LED handling for HP laptops, I messed up
the polarity check in a wrong way.  The red (or the mute-LED if any)
should appear in the muted state, corresponding to GPIO on.

Reported-by: Mikko Vinni <mmvinni@yahoo.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_sigmatel.c