]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda: Allow model option to specify PCI SSID alias
authorTakashi Iwai <tiwai@suse.de>
Mon, 23 Aug 2021 07:37:21 +0000 (09:37 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 23 Aug 2021 08:59:13 +0000 (10:59 +0200)
commitbad599a21da9a948e405cbb3e60d032353c20500
tree9cdc1af4aacff1959b02deb16fc298c89400eec4
parent00263b4a3f57b3e0c4984c2526ded35b1380dba7
ALSA: hda: Allow model option to specify PCI SSID alias

There are tons of quirks for HD-audio and many of them are without
model string, hence it's not trivial to apply the same quirk for a new
device.  This patch makes it easier: namely, the model string accepts
a form as "XXXX:YYYY" (a pair of hex numbers of the subsystem-vendor
and subsystem-device IDs), to specify the alias of PCI (or codec)
SSID.  e.g. passing model=1234:abcd would apply the quirk that matches
with the given SSID 1234:abcd instead of the actual SSID.

Link: https://lore.kernel.org/r/20210823073722.14873-3-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_auto_parser.c