Commit fe7e5681 authored by Takashi Iwai's avatar Takashi Iwai

ALSA: hda - Add missing GPIO initialization for AD1984A laptop model

A similar initialization of GPIO1 pin like mobile model is needed
for laptop model, too.
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 17bbaa6f
......@@ -3892,6 +3892,10 @@ static struct hda_verb ad1884a_laptop_verbs[] = {
{0x12, AC_VERB_SET_UNSOLICITED_ENABLE, AC_USRSP_EN | AD1884A_HP_EVENT},
{0x14, AC_VERB_SET_UNSOLICITED_ENABLE, AC_USRSP_EN | AD1884A_MIC_EVENT},
{0x1c, AC_VERB_SET_UNSOLICITED_ENABLE, AC_USRSP_EN | AD1884A_MIC_EVENT},
/* allow to touch GPIO1 (for mute control) */
{0x01, AC_VERB_SET_GPIO_MASK, 0x02},
{0x01, AC_VERB_SET_GPIO_DIRECTION, 0x02},
{0x01, AC_VERB_SET_GPIO_DATA, 0x02}, /* first muted */
{ } /* end */
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment