]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit364f34a142113057ea2e0949c340e4f4f579188f
tree97990070bbd283a200cf186d6f4d28f1e6975b75
parentc2f949b98b92210c83e0af397748b10243589967
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