diff mbox series

[3/4] ASoC: SOF: amd: pass acp_rev as soundwire resource data

Message ID 20240924081846.1834612-4-Vijendar.Mukunda@amd.com
State New
Headers show
Series refactor amd soundwire manager driver for acp 6.3 platform | expand

Commit Message

Vijendar Mukunda Sept. 24, 2024, 8:18 a.m. UTC
Pass acp_rev(ACP pci revision id) as soundwire resource data
for SoundWire controller probe function.

Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
---
 sound/soc/sof/amd/acp.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/sound/soc/sof/amd/acp.c b/sound/soc/sof/amd/acp.c
index d579c3849392..f967e8498798 100644
--- a/sound/soc/sof/amd/acp.c
+++ b/sound/soc/sof/amd/acp.c
@@ -683,6 +683,7 @@  static int amd_sof_sdw_probe(struct snd_sof_dev *sdev)
 	sdw_res.count = acp_data->info.count;
 	sdw_res.link_mask = acp_data->info.link_mask;
 	sdw_res.mmio_base = sdev->bar[ACP_DSP_BAR];
+	sdw_res.acp_rev = acp_data->pci_rev;
 
 	ret = sdw_amd_probe(&sdw_res, &acp_data->sdw);
 	if (ret)