]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 12 May 2021 06:39:54 +0000 (08:39 +0200)
commitb821885bfcde01bb0ee632e703fb8c51aec0547c
treeee876fecc0aef62d4c092cda761c80ee1b3c76bc
parent14ad4409418fa2e81cf80626c4d9b4663c3f7738
ALSA: hda/realtek: fix static noise on ALC285 Lenovo laptops

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>
sound/pci/hda/patch_realtek.c