summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda
diff options
context:
space:
mode:
authorVitaliy Kulikov <Vitaliy.Kulikov@idt.com>2010-01-28 19:21:07 +0100
committerTakashi Iwai <tiwai@suse.de>2010-01-28 19:21:07 +0100
commite108c7b79e91b45a3f04762c44fd404a5d9be069 (patch)
treee5fbf7d50ee776512fe87a924da561dc49427a01 /sound/pci/hda
parent30ed7ed11cb88fd56d821a67b9aab1e0d50fb626 (diff)
downloadlinux-e108c7b79e91b45a3f04762c44fd404a5d9be069.tar.bz2
ALSA: hda - Add mute LED check for HP laptops with IDT 92HD83xxx codec
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>
Diffstat (limited to 'sound/pci/hda')
-rw-r--r--sound/pci/hda/patch_sigmatel.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
index dbffb5b5c69d..cb9802f4b063 100644
--- 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;