]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: amd: acp: pass acp pci revision id as platform data
authorVijendar Mukunda <Vijendar.Mukunda@amd.com>
Tue, 24 Sep 2024 06:18:17 +0000 (11:48 +0530)
committerMark Brown <broonie@kernel.org>
Sun, 29 Sep 2024 23:10:38 +0000 (01:10 +0200)
commit0eae2c96b49d85b31ab635b9dc6f09b09d3c54de
treefff6c29351236decf882bfcfade4f0584528b0d4
parent40412a298c77eaa4a22a1aa7030bcc0b2e02c618
ASoC: amd: acp: pass acp pci revision id as platform data

Pass acp pci revision id as platform data to machine driver instead of
'platform' variable when ACP PDM configuration is selected. 'acp_rev'
should be retrieved from mach params revision id for other configuration.
Modify the conditional check for the same.

Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Link: https://patch.msgid.link/20240924061821.1127054-6-Vijendar.Mukunda@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/acp/acp-legacy-mach.c
sound/soc/amd/acp/acp-platform.c