Skip to content

Commit 495dc76

Browse files
Chris Chiutiwai
authored andcommitted
ALSA: hda/realtek - Limit int mic boost on Acer Aspire E5-575T
The Acer Apire E5-575T laptop with codec ALC255 has a terrible background noise comes from internal mic capture. And the jack sensing dose not work for headset like some other Acer laptops. This patch limits the internal mic boost on top of the existing ALC255_FIXUP_ACER_MIC_NO_PRESENCE quirk for Acer Aspire E5-575T. Signed-off-by: Chris Chiu <chiu@endlessos.org> Cc: <stable@vger.kernel.org> Link: https://lore.kernel.org/r/20210114082728.74729-1-chiu@endlessos.org Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent e4ea77f commit 495dc76

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎sound/pci/hda/patch_realtek.c‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6371,6 +6371,7 @@ enum {
63716371
ALC256_FIXUP_HP_HEADSET_MIC,
63726372
ALC236_FIXUP_DELL_AIO_HEADSET_MIC,
63736373
ALC282_FIXUP_ACER_DISABLE_LINEOUT,
6374+
ALC255_FIXUP_ACER_LIMIT_INT_MIC_BOOST,
63746375
};
63756376

63766377
static const struct hda_fixup alc269_fixups[] = {
@@ -7808,6 +7809,12 @@ static const struct hda_fixup alc269_fixups[] = {
78087809
.chained = true,
78097810
.chain_id = ALC269_FIXUP_HEADSET_MODE
78107811
},
7812+
[ALC255_FIXUP_ACER_LIMIT_INT_MIC_BOOST] = {
7813+
.type = HDA_FIXUP_FUNC,
7814+
.v.func = alc269_fixup_limit_int_mic_boost,
7815+
.chained = true,
7816+
.chain_id = ALC255_FIXUP_ACER_MIC_NO_PRESENCE,
7817+
},
78117818
};
78127819

78137820
static const struct snd_pci_quirk alc269_fixup_tbl[] = {
@@ -7826,6 +7833,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
78267833
SND_PCI_QUIRK(0x1025, 0x102b, "Acer Aspire C24-860", ALC286_FIXUP_ACER_AIO_MIC_NO_PRESENCE),
78277834
SND_PCI_QUIRK(0x1025, 0x1065, "Acer Aspire C20-820", ALC269VC_FIXUP_ACER_HEADSET_MIC),
78287835
SND_PCI_QUIRK(0x1025, 0x106d, "Acer Cloudbook 14", ALC283_FIXUP_CHROME_BOOK),
7836+
SND_PCI_QUIRK(0x1025, 0x1094, "Acer Aspire E5-575T", ALC255_FIXUP_ACER_LIMIT_INT_MIC_BOOST),
78297837
SND_PCI_QUIRK(0x1025, 0x1099, "Acer Aspire E5-523G", ALC255_FIXUP_ACER_MIC_NO_PRESENCE),
78307838
SND_PCI_QUIRK(0x1025, 0x110e, "Acer Aspire ES1-432", ALC255_FIXUP_ACER_MIC_NO_PRESENCE),
78317839
SND_PCI_QUIRK(0x1025, 0x1166, "Acer Veriton N4640G", ALC269_FIXUP_LIFEBOOK),

0 commit comments

Comments
 (0)