]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ALSA: hda/realtek: Use codec SSID matching for Lenovo devices
authorTakashi Iwai <tiwai@suse.de>
Tue, 8 Oct 2024 12:02:31 +0000 (14:02 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Dec 2024 19:03:45 +0000 (20:03 +0100)
commitc76d0ebea9b4b484569d5ee2564ed41fb59bbb4d
tree5628990a009c2c2da185e47e06cea15b51952c09
parent753693b1ba0a9f1370b3b27d8532e4842ce5fb90
ALSA: hda/realtek: Use codec SSID matching for Lenovo devices

[ Upstream commit 504f052aa3435ab2f15af8b20bc4f4de8ff259c7 ]

Now we can perform the codec ID matching primarily, and reduce the
conditional application of the quirk for conflicting PCI SSIDs in
various Lenovo devices.

Here, HDA_CODEC_QUIRK() is applied at first so that the device with
the codec SSID matching is picked up, followed by SND_PCI_QUIRK() for
PCI SSID matching with the same ID number.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20241008120233.7154-4-tiwai@suse.de
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/pci/hda/patch_realtek.c