Skip to content

Commit baaacbf

Browse files
KailangYangtiwai
authored andcommitted
ALSA: hda/realtek: Headset Mic VREF to 100%
This platform need to set Mic VREF to 100%. Signed-off-by: Kailang Yang <[email protected]> Cc: <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent 7b4c93a commit baaacbf

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

sound/pci/hda/patch_realtek.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1987,6 +1987,7 @@ enum {
19871987
ALC887_FIXUP_ASUS_AUDIO,
19881988
ALC887_FIXUP_ASUS_HMIC,
19891989
ALCS1200A_FIXUP_MIC_VREF,
1990+
ALC888VD_FIXUP_MIC_100VREF,
19901991
};
19911992

19921993
static void alc889_fixup_coef(struct hda_codec *codec,
@@ -2540,6 +2541,13 @@ static const struct hda_fixup alc882_fixups[] = {
25402541
{}
25412542
}
25422543
},
2544+
[ALC888VD_FIXUP_MIC_100VREF] = {
2545+
.type = HDA_FIXUP_PINCTLS,
2546+
.v.pins = (const struct hda_pintbl[]) {
2547+
{ 0x18, PIN_VREF100 }, /* headset mic */
2548+
{}
2549+
}
2550+
},
25432551
};
25442552

25452553
static const struct snd_pci_quirk alc882_fixup_tbl[] = {
@@ -2609,6 +2617,7 @@ static const struct snd_pci_quirk alc882_fixup_tbl[] = {
26092617
SND_PCI_QUIRK(0x106b, 0x4a00, "Macbook 5,2", ALC889_FIXUP_MBA11_VREF),
26102618

26112619
SND_PCI_QUIRK(0x1071, 0x8258, "Evesham Voyaeger", ALC882_FIXUP_EAPD),
2620+
SND_PCI_QUIRK(0x10ec, 0x12d8, "iBase Elo Touch", ALC888VD_FIXUP_MIC_100VREF),
26122621
SND_PCI_QUIRK(0x13fe, 0x1009, "Advantech MIT-W101", ALC886_FIXUP_EAPD),
26132622
SND_PCI_QUIRK(0x1458, 0xa002, "Gigabyte EP45-DS3/Z87X-UD3H", ALC889_FIXUP_FRONT_HP_NO_PRESENCE),
26142623
SND_PCI_QUIRK(0x1458, 0xa0b8, "Gigabyte AZ370-Gaming", ALC1220_FIXUP_GB_DUAL_CODECS),

0 commit comments

Comments
 (0)