projects
/
profile
/
common
/
kernel-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30ed7ed
)
ALSA: hda - Add mute LED check for HP laptops with IDT 92HD83xxx codec
author
Vitaliy Kulikov
<Vitaliy.Kulikov@idt.com>
Thu, 28 Jan 2010 18:21:07 +0000
(19:21 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Thu, 28 Jan 2010 18:21:07 +0000
(19:21 +0100)
This patch adds HP mute LED support for IDT 92HD81/3 family of the codecs.
Signed-off-by: Vitaliy Kulikov <Vitaliy.Kulikov@idt.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_sigmatel.c
patch
|
blob
|
history
diff --git
a/sound/pci/hda/patch_sigmatel.c
b/sound/pci/hda/patch_sigmatel.c
index
dbffb5b
..
cb9802f
100644
(file)
--- a/
sound/pci/hda/patch_sigmatel.c
+++ b/
sound/pci/hda/patch_sigmatel.c
@@
-5332,6
+5332,11
@@
again:
if (spec->board_config == STAC_92HD83XXX_HP)
spec->gpio_led = 0x01;
+ if (find_mute_led_gpio(codec))
+ snd_printd("mute LED gpio %d polarity %d\n",
+ spec->gpio_led,
+ spec->gpio_led_polarity);
+
#ifdef CONFIG_SND_HDA_POWER_SAVE
if (spec->gpio_led) {
spec->gpio_mask |= spec->gpio_led;