diff options
-rw-r--r-- | sound/pci/hda/patch_conexant.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c index b314d3e6d7fa..c96e1945059d 100644 --- a/sound/pci/hda/patch_conexant.c +++ b/sound/pci/hda/patch_conexant.c | |||
@@ -3225,6 +3225,7 @@ enum { | |||
3225 | CXT_PINCFG_LEMOTE_A1205, | 3225 | CXT_PINCFG_LEMOTE_A1205, |
3226 | CXT_FIXUP_STEREO_DMIC, | 3226 | CXT_FIXUP_STEREO_DMIC, |
3227 | CXT_FIXUP_INC_MIC_BOOST, | 3227 | CXT_FIXUP_INC_MIC_BOOST, |
3228 | CXT_FIXUP_GPIO1, | ||
3228 | }; | 3229 | }; |
3229 | 3230 | ||
3230 | static void cxt_fixup_stereo_dmic(struct hda_codec *codec, | 3231 | static void cxt_fixup_stereo_dmic(struct hda_codec *codec, |
@@ -3303,6 +3304,15 @@ static const struct hda_fixup cxt_fixups[] = { | |||
3303 | .type = HDA_FIXUP_FUNC, | 3304 | .type = HDA_FIXUP_FUNC, |
3304 | .v.func = cxt5066_increase_mic_boost, | 3305 | .v.func = cxt5066_increase_mic_boost, |
3305 | }, | 3306 | }, |
3307 | [CXT_FIXUP_GPIO1] = { | ||
3308 | .type = HDA_FIXUP_VERBS, | ||
3309 | .v.verbs = (const struct hda_verb[]) { | ||
3310 | { 0x01, AC_VERB_SET_GPIO_MASK, 0x01 }, | ||
3311 | { 0x01, AC_VERB_SET_GPIO_DIRECTION, 0x01 }, | ||
3312 | { 0x01, AC_VERB_SET_GPIO_DATA, 0x01 }, | ||
3313 | { } | ||
3314 | }, | ||
3315 | }, | ||
3306 | }; | 3316 | }; |
3307 | 3317 | ||
3308 | static const struct snd_pci_quirk cxt5051_fixups[] = { | 3318 | static const struct snd_pci_quirk cxt5051_fixups[] = { |
@@ -3312,6 +3322,7 @@ static const struct snd_pci_quirk cxt5051_fixups[] = { | |||
3312 | 3322 | ||
3313 | static const struct snd_pci_quirk cxt5066_fixups[] = { | 3323 | static const struct snd_pci_quirk cxt5066_fixups[] = { |
3314 | SND_PCI_QUIRK(0x1025, 0x0543, "Acer Aspire One 522", CXT_FIXUP_STEREO_DMIC), | 3324 | SND_PCI_QUIRK(0x1025, 0x0543, "Acer Aspire One 522", CXT_FIXUP_STEREO_DMIC), |
3325 | SND_PCI_QUIRK(0x1025, 0x054c, "Acer Aspire 3830TG", CXT_FIXUP_GPIO1), | ||
3315 | SND_PCI_QUIRK(0x17aa, 0x20f2, "Lenovo T400", CXT_PINCFG_LENOVO_TP410), | 3326 | SND_PCI_QUIRK(0x17aa, 0x20f2, "Lenovo T400", CXT_PINCFG_LENOVO_TP410), |
3316 | SND_PCI_QUIRK(0x17aa, 0x215e, "Lenovo T410", CXT_PINCFG_LENOVO_TP410), | 3327 | SND_PCI_QUIRK(0x17aa, 0x215e, "Lenovo T410", CXT_PINCFG_LENOVO_TP410), |
3317 | SND_PCI_QUIRK(0x17aa, 0x215f, "Lenovo T510", CXT_PINCFG_LENOVO_TP410), | 3328 | SND_PCI_QUIRK(0x17aa, 0x215f, "Lenovo T510", CXT_PINCFG_LENOVO_TP410), |