diff options
Diffstat (limited to 'sound/pci/hda/patch_conexant.c')
-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 4edd2d0f9a3c..ec68eaea0336 100644 --- a/sound/pci/hda/patch_conexant.c +++ b/sound/pci/hda/patch_conexant.c | |||
@@ -3231,6 +3231,7 @@ enum { | |||
3231 | CXT_FIXUP_INC_MIC_BOOST, | 3231 | CXT_FIXUP_INC_MIC_BOOST, |
3232 | CXT_FIXUP_HEADPHONE_MIC_PIN, | 3232 | CXT_FIXUP_HEADPHONE_MIC_PIN, |
3233 | CXT_FIXUP_HEADPHONE_MIC, | 3233 | CXT_FIXUP_HEADPHONE_MIC, |
3234 | CXT_FIXUP_GPIO1, | ||
3234 | }; | 3235 | }; |
3235 | 3236 | ||
3236 | static void cxt_fixup_stereo_dmic(struct hda_codec *codec, | 3237 | static void cxt_fixup_stereo_dmic(struct hda_codec *codec, |
@@ -3375,6 +3376,15 @@ static const struct hda_fixup cxt_fixups[] = { | |||
3375 | .type = HDA_FIXUP_FUNC, | 3376 | .type = HDA_FIXUP_FUNC, |
3376 | .v.func = cxt_fixup_headphone_mic, | 3377 | .v.func = cxt_fixup_headphone_mic, |
3377 | }, | 3378 | }, |
3379 | [CXT_FIXUP_GPIO1] = { | ||
3380 | .type = HDA_FIXUP_VERBS, | ||
3381 | .v.verbs = (const struct hda_verb[]) { | ||
3382 | { 0x01, AC_VERB_SET_GPIO_MASK, 0x01 }, | ||
3383 | { 0x01, AC_VERB_SET_GPIO_DIRECTION, 0x01 }, | ||
3384 | { 0x01, AC_VERB_SET_GPIO_DATA, 0x01 }, | ||
3385 | { } | ||
3386 | }, | ||
3387 | }, | ||
3378 | }; | 3388 | }; |
3379 | 3389 | ||
3380 | static const struct snd_pci_quirk cxt5051_fixups[] = { | 3390 | static const struct snd_pci_quirk cxt5051_fixups[] = { |
@@ -3384,6 +3394,7 @@ static const struct snd_pci_quirk cxt5051_fixups[] = { | |||
3384 | 3394 | ||
3385 | static const struct snd_pci_quirk cxt5066_fixups[] = { | 3395 | static const struct snd_pci_quirk cxt5066_fixups[] = { |
3386 | SND_PCI_QUIRK(0x1025, 0x0543, "Acer Aspire One 522", CXT_FIXUP_STEREO_DMIC), | 3396 | SND_PCI_QUIRK(0x1025, 0x0543, "Acer Aspire One 522", CXT_FIXUP_STEREO_DMIC), |
3397 | SND_PCI_QUIRK(0x1025, 0x054c, "Acer Aspire 3830TG", CXT_FIXUP_GPIO1), | ||
3387 | SND_PCI_QUIRK(0x1043, 0x138d, "Asus", CXT_FIXUP_HEADPHONE_MIC_PIN), | 3398 | SND_PCI_QUIRK(0x1043, 0x138d, "Asus", CXT_FIXUP_HEADPHONE_MIC_PIN), |
3388 | SND_PCI_QUIRK(0x17aa, 0x20f2, "Lenovo T400", CXT_PINCFG_LENOVO_TP410), | 3399 | SND_PCI_QUIRK(0x17aa, 0x20f2, "Lenovo T400", CXT_PINCFG_LENOVO_TP410), |
3389 | SND_PCI_QUIRK(0x17aa, 0x215e, "Lenovo T410", CXT_PINCFG_LENOVO_TP410), | 3400 | SND_PCI_QUIRK(0x17aa, 0x215e, "Lenovo T410", CXT_PINCFG_LENOVO_TP410), |