Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Chris Chiu and committed by
Takashi Iwai
495dc763 e4ea77f8

+8
+8
sound/pci/hda/patch_realtek.c
··· 6371 6371 ALC256_FIXUP_HP_HEADSET_MIC, 6372 6372 ALC236_FIXUP_DELL_AIO_HEADSET_MIC, 6373 6373 ALC282_FIXUP_ACER_DISABLE_LINEOUT, 6374 + ALC255_FIXUP_ACER_LIMIT_INT_MIC_BOOST, 6374 6375 }; 6375 6376 6376 6377 static const struct hda_fixup alc269_fixups[] = { ··· 7809 7808 .chained = true, 7810 7809 .chain_id = ALC269_FIXUP_HEADSET_MODE 7811 7810 }, 7811 + [ALC255_FIXUP_ACER_LIMIT_INT_MIC_BOOST] = { 7812 + .type = HDA_FIXUP_FUNC, 7813 + .v.func = alc269_fixup_limit_int_mic_boost, 7814 + .chained = true, 7815 + .chain_id = ALC255_FIXUP_ACER_MIC_NO_PRESENCE, 7816 + }, 7812 7817 }; 7813 7818 7814 7819 static const struct snd_pci_quirk alc269_fixup_tbl[] = { ··· 7833 7826 SND_PCI_QUIRK(0x1025, 0x102b, "Acer Aspire C24-860", ALC286_FIXUP_ACER_AIO_MIC_NO_PRESENCE), 7834 7827 SND_PCI_QUIRK(0x1025, 0x1065, "Acer Aspire C20-820", ALC269VC_FIXUP_ACER_HEADSET_MIC), 7835 7828 SND_PCI_QUIRK(0x1025, 0x106d, "Acer Cloudbook 14", ALC283_FIXUP_CHROME_BOOK), 7829 + SND_PCI_QUIRK(0x1025, 0x1094, "Acer Aspire E5-575T", ALC255_FIXUP_ACER_LIMIT_INT_MIC_BOOST), 7836 7830 SND_PCI_QUIRK(0x1025, 0x1099, "Acer Aspire E5-523G", ALC255_FIXUP_ACER_MIC_NO_PRESENCE), 7837 7831 SND_PCI_QUIRK(0x1025, 0x110e, "Acer Aspire ES1-432", ALC255_FIXUP_ACER_MIC_NO_PRESENCE), 7838 7832 SND_PCI_QUIRK(0x1025, 0x1166, "Acer Veriton N4640G", ALC269_FIXUP_LIFEBOOK),