]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - sound/pci/hda/patch_realtek.c
ALSA: hda/realtek - fix the pop noise on headphone for lenovo laptops
authorHui Wang <hui.wang@canonical.com>
Mon, 26 Nov 2018 06:17:16 +0000 (14:17 +0800)
committerTakashi Iwai <tiwai@suse.de>
Mon, 26 Nov 2018 08:28:17 +0000 (09:28 +0100)
commitc4cfcf6f4297c9256b53790bacbbbd6901fef468
tree97990070bbd283a200cf186d6f4d28f1e6975b75
parente1a7bfe3807974e66f971f2589d4e0197ec0fced
ALSA: hda/realtek - fix the pop noise on headphone for lenovo laptops

We have several Lenovo laptops with the codec alc285, when playing
sound via headphone, we can hear click/pop noise in the headphone,
if we let the headphone share the DAC of NID 0x2 with the speaker,
the noise disappears.

The Lenovo laptops here include P52, P72, X1 yoda2 and X1 carbon.

I have tried to set preferred_dacs and override_conn, but neither of
them worked. Thanks for Kailang, he told me to invalidate the NID 0x3
through override_wcaps.

BugLink: https://bugs.launchpad.net/bugs/1805079
Cc: <stable@vger.kernel.org>
Signed-off-by: Kailang Yang <kailang@realtek.com>
Signed-off-by: Hui Wang <hui.wang@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c