Commit e108c7b79e91b45a3f04762c44fd404a5d9be069

Authored by Vitaliy Kulikov
Committed by Takashi Iwai
1 parent 30ed7ed11c

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>

Showing 1 changed file with 5 additions and 0 deletions Side-by-side Diff

sound/pci/hda/patch_sigmatel.c
... ... @@ -5332,6 +5332,11 @@
5332 5332 if (spec->board_config == STAC_92HD83XXX_HP)
5333 5333 spec->gpio_led = 0x01;
5334 5334  
  5335 + if (find_mute_led_gpio(codec))
  5336 + snd_printd("mute LED gpio %d polarity %d\n",
  5337 + spec->gpio_led,
  5338 + spec->gpio_led_polarity);
  5339 +
5335 5340 #ifdef CONFIG_SND_HDA_POWER_SAVE
5336 5341 if (spec->gpio_led) {
5337 5342 spec->gpio_mask |= spec->gpio_led;