]> www.infradead.org Git - users/jedix/linux-maple.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)
committerTakashi Iwai <tiwai@suse.de>
Thu, 10 Oct 2024 12:21:12 +0000 (14:21 +0200)
commit504f052aa3435ab2f15af8b20bc4f4de8ff259c7
treee76b9727d3707a5562a21f8636d0c1ebfe2f7dff
parent1f55e3699fc9ced72400cdca39fe248bf2b288a2
ALSA: hda/realtek: Use codec SSID matching for Lenovo devices

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