ASoC: Intel: sof_sdw: Add lookup of quirk using PCI subsystem ID
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Tue, 4 Feb 2025 05:39:41 +0000 (13:39 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 4 Feb 2025 16:25:57 +0000 (16:25 +0000)
commitfc016ef7da64fd473d73ee6c261ba1b0b47afe2b
tree5dee05210933f83f88aec9021b3a03ac3b1f6836
parenta8c9a453387640dbe45761970f41301a6985e7fa
ASoC: Intel: sof_sdw: Add lookup of quirk using PCI subsystem ID

Add lookup of PCI subsystem vendor:device ID to find a quirk.

The subsystem ID (SSID) is part of the PCI specification to uniquely
identify a particular system-specific implementation of a hardware
device.

Unlike DMI information, it identifies the sound hardware itself, rather
than a specific model of PC. SSID can be more reliable and stable than
DMI strings, and is preferred by some vendors as the way to identify
the actual sound hardware.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Reviewed-by: Liam Girdwood <liam.r.girdwood@intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://patch.msgid.link/20250204053943.93596-2-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/sof_sdw.c