diff options
author | Syed Saba Kareem <Syed.SabaKareem@amd.com> | 2023-10-21 20:20:48 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-10-25 17:21:49 +0100 |
commit | 57e857770f6021a73af85e6b201203520cb1a529 (patch) | |
tree | 64f7665237e9c89db2e9a61f7d461b33c5ddf716 /sound/soc/amd/acp/amd.h | |
parent | 3a94c8ad0aae2b14a55059869871ea2d199af489 (diff) | |
download | lwn-57e857770f6021a73af85e6b201203520cb1a529.tar.gz lwn-57e857770f6021a73af85e6b201203520cb1a529.zip |
ASoC: amd: acp: add platform and flag data to acp data structure
add name of the platform and flag data in private data structure.
name of the platform will be used to differentiate platforms where as
flag will be used to know what kind of endpoint configuration is selected
where its legacy(I2S + PDM) or only ACP PDM.
Signed-off-by: Syed Saba Kareem <Syed.SabaKareem@amd.com>
Link: https://lore.kernel.org/r/20231021145110.478744-7-Syed.SabaKareem@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/amd/acp/amd.h')
-rw-r--r-- | sound/soc/amd/acp/amd.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/amd/acp/amd.h b/sound/soc/amd/acp/amd.h index 2ffe1effc6b5..62d0793027f2 100644 --- a/sound/soc/amd/acp/amd.h +++ b/sound/soc/amd/acp/amd.h @@ -187,6 +187,8 @@ struct acp_dev_data { u32 tdm_rx_fmt[3]; u32 xfer_tx_resolution[3]; u32 xfer_rx_resolution[3]; + unsigned int flag; + unsigned int platform; }; enum acp_config { |