diff options
author | Takashi Iwai <tiwai@suse.de> | 2009-08-31 02:37:46 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-08-31 02:37:46 -0400 |
commit | fe7e56814cb82eb28698c2a74bdb830ae0592a45 (patch) | |
tree | 734878d912d6bf9f6da331bc223d52253e095fd8 /sound | |
parent | 17bbaa6f600a36930879fd58e4e38a8c25bf9b60 (diff) |
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: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/hda/patch_analog.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_analog.c b/sound/pci/hda/patch_analog.c index 570e072938c..db3f3b15f0e 100644 --- a/sound/pci/hda/patch_analog.c +++ b/sound/pci/hda/patch_analog.c | |||
@@ -3892,6 +3892,10 @@ static struct hda_verb ad1884a_laptop_verbs[] = { | |||
3892 | {0x12, AC_VERB_SET_UNSOLICITED_ENABLE, AC_USRSP_EN | AD1884A_HP_EVENT}, | 3892 | {0x12, AC_VERB_SET_UNSOLICITED_ENABLE, AC_USRSP_EN | AD1884A_HP_EVENT}, |
3893 | {0x14, AC_VERB_SET_UNSOLICITED_ENABLE, AC_USRSP_EN | AD1884A_MIC_EVENT}, | 3893 | {0x14, AC_VERB_SET_UNSOLICITED_ENABLE, AC_USRSP_EN | AD1884A_MIC_EVENT}, |
3894 | {0x1c, AC_VERB_SET_UNSOLICITED_ENABLE, AC_USRSP_EN | AD1884A_MIC_EVENT}, | 3894 | {0x1c, AC_VERB_SET_UNSOLICITED_ENABLE, AC_USRSP_EN | AD1884A_MIC_EVENT}, |
3895 | /* allow to touch GPIO1 (for mute control) */ | ||
3896 | {0x01, AC_VERB_SET_GPIO_MASK, 0x02}, | ||
3897 | {0x01, AC_VERB_SET_GPIO_DIRECTION, 0x02}, | ||
3898 | {0x01, AC_VERB_SET_GPIO_DATA, 0x02}, /* first muted */ | ||
3895 | { } /* end */ | 3899 | { } /* end */ |
3896 | }; | 3900 | }; |
3897 | 3901 | ||