]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ALSA: hda: Use own quirk lookup helper
authorTakashi Iwai <tiwai@suse.de>
Tue, 8 Oct 2024 12:02:29 +0000 (14:02 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Dec 2024 19:03:45 +0000 (20:03 +0100)
commit074b2b0a4d52c929039f30f5b06fa14e8fbb4c3c
tree340b508e9af4a75954ee2d711b1bd13eac50010f
parent07a4acea17f53f5c47fff3cce5aede962f969435
ALSA: hda: Use own quirk lookup helper

[ Upstream commit 5b1913a79c3e0518d9c5db343fa9fc4edcea041f ]

For allowing the primary codec SSID matching (that works around the
conflicting PCI SSID problems), introduce a new struct hda_quirk,
which is compatible with the existing struct snd_pci_quirk along with
new helper functions and macros.

The existing snd_pci_quirk tables are replaced with hda_quirk tables
accordingly, while keeping SND_PCI_QUIRK() entry definitions as is.

This patch shouldn't bring any behavior change, just some renaming and
shifting the code.  The actual change for the codec SSID matching will
follow after this.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20241008120233.7154-2-tiwai@suse.de
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/pci/hda/hda_auto_parser.c
sound/pci/hda/hda_local.h
sound/pci/hda/patch_analog.c
sound/pci/hda/patch_cirrus.c
sound/pci/hda/patch_conexant.c
sound/pci/hda/patch_cs8409-tables.c
sound/pci/hda/patch_cs8409.h
sound/pci/hda/patch_realtek.c
sound/pci/hda/patch_sigmatel.c
sound/pci/hda/patch_via.c