]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
ALSA: hda/realtek: fix static noise on ALC285 Lenovo laptops
authorSami Loone <sami@loone.fi>
Sun, 25 Apr 2021 20:37:12 +0000 (22:37 +0200)
committerStefan Bader <stefan.bader@canonical.com>
Wed, 19 May 2021 08:59:46 +0000 (10:59 +0200)
commitbeb0309373c36d836ca4af4b4658d2fd2765d0fb
tree1c0f91dbbe0e4477df92b265a24af28d51ddf0f8
parentfb27561d7e5073e950da9807d3808fdd71ef6650
ALSA: hda/realtek: fix static noise on ALC285 Lenovo laptops

BugLink: https://bugs.launchpad.net/bugs/1928825
commit 9bbb94e57df135ef61bef075d9c99b8d9e89e246 upstream.

Remove a duplicate vendor+subvendor pin fixup entry as one is masking
the other and making it unreachable. Consider the more specific newcomer
as a second chance instead.

The generic entry is made less strict to also match for laptops with
slightly different 0x12 pin configuration. Tested on Lenovo Yoga 6 (AMD)
where 0x12 is 0x40000000.

Fixes: 607184cb1635 ("ALSA: hda/realtek - Add supported for more Lenovo ALC285 Headset Button")
Signed-off-by: Sami Loone <sami@loone.fi>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/YIXS+GT/dGI/LtK6@yoga
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
sound/pci/hda/patch_realtek.c