提交 e108c7b7 编写于 作者: V Vitaliy Kulikov 提交者: Takashi Iwai

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: NVitaliy Kulikov <Vitaliy.Kulikov@idt.com>
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
上级 30ed7ed1
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册