Skip to content

Commit 136824e

Browse files
KailangYangtiwai
authored andcommitted
ALSA: hda/realtek - Add support headset mode for DELL WYSE AIO
This patch will enable WYSE AIO for Headset mode. Signed-off-by: Kailang Yang <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
1 parent c8a9afa commit 136824e

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

sound/pci/hda/patch_realtek.c

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5684,6 +5684,9 @@ enum {
56845684
ALC285_FIXUP_LENOVO_PC_BEEP_IN_NOISE,
56855685
ALC255_FIXUP_ACER_HEADSET_MIC,
56865686
ALC295_FIXUP_CHROME_BOOK,
5687+
ALC225_FIXUP_DELL_WYSE_AIO_MIC_NO_PRESENCE,
5688+
ALC225_FIXUP_WYSE_AUTO_MUTE,
5689+
ALC225_FIXUP_WYSE_DISABLE_MIC_VREF,
56875690
};
56885691

56895692
static const struct hda_fixup alc269_fixups[] = {
@@ -6660,6 +6663,28 @@ static const struct hda_fixup alc269_fixups[] = {
66606663
.chained = true,
66616664
.chain_id = ALC255_FIXUP_HEADSET_MODE_NO_HP_MIC
66626665
},
6666+
[ALC225_FIXUP_DELL_WYSE_AIO_MIC_NO_PRESENCE] = {
6667+
.type = HDA_FIXUP_PINS,
6668+
.v.pins = (const struct hda_pintbl[]) {
6669+
{ 0x16, 0x01011020 }, /* Rear Line out */
6670+
{ 0x19, 0x01a1913c }, /* use as Front headset mic, without its own jack detect */
6671+
{ }
6672+
},
6673+
.chained = true,
6674+
.chain_id = ALC225_FIXUP_WYSE_AUTO_MUTE
6675+
},
6676+
[ALC225_FIXUP_WYSE_AUTO_MUTE] = {
6677+
.type = HDA_FIXUP_FUNC,
6678+
.v.func = alc_fixup_auto_mute_via_amp,
6679+
.chained = true,
6680+
.chain_id = ALC225_FIXUP_WYSE_DISABLE_MIC_VREF
6681+
},
6682+
[ALC225_FIXUP_WYSE_DISABLE_MIC_VREF] = {
6683+
.type = HDA_FIXUP_FUNC,
6684+
.v.func = alc_fixup_disable_mic_vref,
6685+
.chained = true,
6686+
.chain_id = ALC269_FIXUP_HEADSET_MODE_NO_HP_MIC
6687+
},
66636688
};
66646689

66656690
static const struct snd_pci_quirk alc269_fixup_tbl[] = {
@@ -6724,6 +6749,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
67246749
SND_PCI_QUIRK(0x1028, 0x0871, "Dell Precision 3630", ALC255_FIXUP_DELL_HEADSET_MIC),
67256750
SND_PCI_QUIRK(0x1028, 0x0872, "Dell Precision 3630", ALC255_FIXUP_DELL_HEADSET_MIC),
67266751
SND_PCI_QUIRK(0x1028, 0x0873, "Dell Precision 3930", ALC255_FIXUP_DUMMY_LINEOUT_VERB),
6752+
SND_PCI_QUIRK(0x1028, 0x08ad, "Dell WYSE AIO", ALC225_FIXUP_DELL_WYSE_AIO_MIC_NO_PRESENCE),
67276753
SND_PCI_QUIRK(0x1028, 0x0935, "Dell", ALC274_FIXUP_DELL_AIO_LINEOUT_VERB),
67286754
SND_PCI_QUIRK(0x1028, 0x164a, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE),
67296755
SND_PCI_QUIRK(0x1028, 0x164b, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE),

0 commit comments

Comments
 (0)