Skip to content

Commit

Permalink
ALSA: hda - Add mute LED check for HP laptops with IDT 92HD83xxx codec
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Vitaliy Kulikov authored and Takashi Iwai committed Jan 28, 2010
1 parent 30ed7ed commit e108c7b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sound/pci/hda/patch_sigmatel.c
Original file line number Diff line number Diff line change
Expand Up @@ -5332,6 +5332,11 @@ static int patch_stac92hd83xxx(struct hda_codec *codec)
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;
Expand Down

0 comments on commit e108c7b

Please sign in to comment.