]> www.infradead.org Git - nvme.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)
committerTakashi Iwai <tiwai@suse.de>
Mon, 26 Apr 2021 11:56:23 +0000 (13:56 +0200)
commit9bbb94e57df135ef61bef075d9c99b8d9e89e246
tree6740f9db42547b976c326df991c7b7f197d0e6c2
parent988cc17552606be67a956cf8cd6ff504cfc5d643
ALSA: hda/realtek: fix static noise on ALC285 Lenovo laptops

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