diff options
author | Vijendar Mukunda <Vijendar.Mukunda@amd.com> | 2024-09-24 11:48:18 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-09-30 01:10:39 +0200 |
commit | 0a374a2dd0afa7ba431fab2749197374cf95fb67 (patch) | |
tree | e564117ece3bc6e50960b0587e8a0dcd87f1a1bb /sound/soc/amd | |
parent | 0eae2c96b49d85b31ab635b9dc6f09b09d3c54de (diff) |
ASoC: amd: acp: update mach_params subsystem_rev field
Update mach_params subsystem_rev field in acp_machine_select()
function with acp pci revision id value.
Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Link: https://patch.msgid.link/20240924061821.1127054-7-Vijendar.Mukunda@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/amd')
-rw-r--r-- | sound/soc/amd/acp/acp-platform.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/amd/acp/acp-platform.c b/sound/soc/amd/acp/acp-platform.c index a6e5cb263377..78fcff6ea657 100644 --- a/sound/soc/amd/acp/acp-platform.c +++ b/sound/soc/amd/acp/acp-platform.c @@ -125,6 +125,7 @@ int acp_machine_select(struct acp_dev_data *adata) dev_err(adata->dev, "warning: No matching ASoC machine driver found\n"); return -EINVAL; } + mach->mach_params.subsystem_rev = adata->acp_rev; adata->mach_dev = platform_device_register_data(adata->dev, mach->drv_name, PLATFORM_DEVID_NONE, mach, size); } |