Skip to content

Commit 1bb50ea

Browse files
vijendarmukundavinodkoul
authored andcommitted
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 <[email protected]> Acked-by: Mark Brown <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent 7b54323 commit 1bb50ea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sound/soc/sof/amd/acp.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -683,6 +683,7 @@ static int amd_sof_sdw_probe(struct snd_sof_dev *sdev)
683683
sdw_res.count = acp_data->info.count;
684684
sdw_res.link_mask = acp_data->info.link_mask;
685685
sdw_res.mmio_base = sdev->bar[ACP_DSP_BAR];
686+
sdw_res.acp_rev = acp_data->pci_rev;
686687

687688
ret = sdw_amd_probe(&sdw_res, &acp_data->sdw);
688689
if (ret)

0 commit comments

Comments
 (0)