summaryrefslogtreecommitdiffstats
path: root/sound/soc/sof
diff options
context:
space:
mode:
authorVijendar Mukunda <Vijendar.Mukunda@amd.com>2024-09-24 10:18:45 +0200
committerVinod Koul <vkoul@kernel.org>2024-10-03 09:14:41 +0200
commit1bb50ead592ceaf2b1572c7d08797b8b3229432e (patch)
tree048cb53ec009416582aa85250bbc26f57a891d35 /sound/soc/sof
parentsoundwire: amd: refactor existing code for acp 6.3 platform (diff)
downloadlinux-1bb50ead592ceaf2b1572c7d08797b8b3229432e.tar.xz
linux-1bb50ead592ceaf2b1572c7d08797b8b3229432e.zip
ASoC: SOF: amd: pass acp_rev as soundwire resource data
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> Acked-by: Mark Brown <broonie@kernel.org> Link: https://lore.kernel.org/r/20240924081846.1834612-4-Vijendar.Mukunda@amd.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'sound/soc/sof')
-rw-r--r--sound/soc/sof/amd/acp.c1
1 files changed, 1 insertions, 0 deletions
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)