From: Simon Trimmer Date: Thu, 16 Oct 2025 15:06:49 +0000 (+0000) Subject: ASoC: amd: amd_sdw: Propagate the PCI subsystem Vendor and Device IDs X-Git-Tag: v6.19-rc1~156^2~3^2~99^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6658472a3e2de08197acfe099ba71ee0e2505ecf;p=thirdparty%2Fkernel%2Flinux.git ASoC: amd: amd_sdw: Propagate the PCI subsystem Vendor and Device IDs Extend the ACP SoundWire legacy machine driver to propagate the PCI subsystem Vendor and Device IDs so that they may be used by component drivers for SKU specific variation. Signed-off-by: Simon Trimmer Link: https://patch.msgid.link/20251016150649.320277-3-simont@opensource.cirrus.com Reviewed-by: Mario Limonciello (AMD) Signed-off-by: Mark Brown --- diff --git a/sound/soc/amd/acp/acp-sdw-legacy-mach.c b/sound/soc/amd/acp/acp-sdw-legacy-mach.c index 5a3cfedacbafd..54f823f7cecff 100644 --- a/sound/soc/amd/acp/acp-sdw-legacy-mach.c +++ b/sound/soc/amd/acp/acp-sdw-legacy-mach.c @@ -463,6 +463,10 @@ static int mc_probe(struct platform_device *pdev) card->late_probe = asoc_sdw_card_late_probe; snd_soc_card_set_drvdata(card, ctx); + if (mach->mach_params.subsystem_id_set) + snd_soc_card_set_pci_ssid(card, + mach->mach_params.subsystem_vendor, + mach->mach_params.subsystem_device); dmi_check_system(soc_sdw_quirk_table);