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 <kailang@realtek.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
committed by
Takashi Iwai
parent
c8a9afa632
commit
136824efaa
@@ -5684,6 +5684,9 @@ enum {
|
|||||||
ALC285_FIXUP_LENOVO_PC_BEEP_IN_NOISE,
|
ALC285_FIXUP_LENOVO_PC_BEEP_IN_NOISE,
|
||||||
ALC255_FIXUP_ACER_HEADSET_MIC,
|
ALC255_FIXUP_ACER_HEADSET_MIC,
|
||||||
ALC295_FIXUP_CHROME_BOOK,
|
ALC295_FIXUP_CHROME_BOOK,
|
||||||
|
ALC225_FIXUP_DELL_WYSE_AIO_MIC_NO_PRESENCE,
|
||||||
|
ALC225_FIXUP_WYSE_AUTO_MUTE,
|
||||||
|
ALC225_FIXUP_WYSE_DISABLE_MIC_VREF,
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct hda_fixup alc269_fixups[] = {
|
static const struct hda_fixup alc269_fixups[] = {
|
||||||
@@ -6660,6 +6663,28 @@ static const struct hda_fixup alc269_fixups[] = {
|
|||||||
.chained = true,
|
.chained = true,
|
||||||
.chain_id = ALC255_FIXUP_HEADSET_MODE_NO_HP_MIC
|
.chain_id = ALC255_FIXUP_HEADSET_MODE_NO_HP_MIC
|
||||||
},
|
},
|
||||||
|
[ALC225_FIXUP_DELL_WYSE_AIO_MIC_NO_PRESENCE] = {
|
||||||
|
.type = HDA_FIXUP_PINS,
|
||||||
|
.v.pins = (const struct hda_pintbl[]) {
|
||||||
|
{ 0x16, 0x01011020 }, /* Rear Line out */
|
||||||
|
{ 0x19, 0x01a1913c }, /* use as Front headset mic, without its own jack detect */
|
||||||
|
{ }
|
||||||
|
},
|
||||||
|
.chained = true,
|
||||||
|
.chain_id = ALC225_FIXUP_WYSE_AUTO_MUTE
|
||||||
|
},
|
||||||
|
[ALC225_FIXUP_WYSE_AUTO_MUTE] = {
|
||||||
|
.type = HDA_FIXUP_FUNC,
|
||||||
|
.v.func = alc_fixup_auto_mute_via_amp,
|
||||||
|
.chained = true,
|
||||||
|
.chain_id = ALC225_FIXUP_WYSE_DISABLE_MIC_VREF
|
||||||
|
},
|
||||||
|
[ALC225_FIXUP_WYSE_DISABLE_MIC_VREF] = {
|
||||||
|
.type = HDA_FIXUP_FUNC,
|
||||||
|
.v.func = alc_fixup_disable_mic_vref,
|
||||||
|
.chained = true,
|
||||||
|
.chain_id = ALC269_FIXUP_HEADSET_MODE_NO_HP_MIC
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct snd_pci_quirk alc269_fixup_tbl[] = {
|
static const struct snd_pci_quirk alc269_fixup_tbl[] = {
|
||||||
@@ -6724,6 +6749,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
|
|||||||
SND_PCI_QUIRK(0x1028, 0x0871, "Dell Precision 3630", ALC255_FIXUP_DELL_HEADSET_MIC),
|
SND_PCI_QUIRK(0x1028, 0x0871, "Dell Precision 3630", ALC255_FIXUP_DELL_HEADSET_MIC),
|
||||||
SND_PCI_QUIRK(0x1028, 0x0872, "Dell Precision 3630", ALC255_FIXUP_DELL_HEADSET_MIC),
|
SND_PCI_QUIRK(0x1028, 0x0872, "Dell Precision 3630", ALC255_FIXUP_DELL_HEADSET_MIC),
|
||||||
SND_PCI_QUIRK(0x1028, 0x0873, "Dell Precision 3930", ALC255_FIXUP_DUMMY_LINEOUT_VERB),
|
SND_PCI_QUIRK(0x1028, 0x0873, "Dell Precision 3930", ALC255_FIXUP_DUMMY_LINEOUT_VERB),
|
||||||
|
SND_PCI_QUIRK(0x1028, 0x08ad, "Dell WYSE AIO", ALC225_FIXUP_DELL_WYSE_AIO_MIC_NO_PRESENCE),
|
||||||
SND_PCI_QUIRK(0x1028, 0x0935, "Dell", ALC274_FIXUP_DELL_AIO_LINEOUT_VERB),
|
SND_PCI_QUIRK(0x1028, 0x0935, "Dell", ALC274_FIXUP_DELL_AIO_LINEOUT_VERB),
|
||||||
SND_PCI_QUIRK(0x1028, 0x164a, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE),
|
SND_PCI_QUIRK(0x1028, 0x164a, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE),
|
||||||
SND_PCI_QUIRK(0x1028, 0x164b, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE),
|
SND_PCI_QUIRK(0x1028, 0x164b, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE),
|
||||||
|
|||||||
Reference in New Issue
Block a user