diff options
author | Vijendar Mukunda <Vijendar.Mukunda@amd.com> | 2018-05-08 10:17:44 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-05-11 12:13:23 +0900 |
commit | 8769bb55fe1d9912c9cd9e008afb14e22a762103 (patch) | |
tree | 61aafd68a527a63bfa4ad63350eae817e1bd23c2 /sound/soc/amd/acp.h | |
parent | 98e1241c357b82e070294f486cef91a1263874fa (diff) | |
download | linux-8769bb55fe1d9912c9cd9e008afb14e22a762103.tar.bz2 |
ASoC: amd: dma config parameters changes
Added dma configuration parameters to rtd structure.
Moved dma configuration parameters initialization to
hw_params callback.
Removed hard coding in prepare and trigger callbacks.
Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Reviewed-by: Daniel Kurtz <djkurtz@chromium.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/amd/acp.h')
-rw-r--r-- | sound/soc/amd/acp.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/soc/amd/acp.h b/sound/soc/amd/acp.h index 0e6089b4f8a0..5e25428e6bbe 100644 --- a/sound/soc/amd/acp.h +++ b/sound/soc/amd/acp.h @@ -85,6 +85,11 @@ struct audio_substream_data { unsigned int order; u16 num_of_pages; u16 direction; + u16 ch1; + u16 ch2; + u16 destination; + u16 dma_dscr_idx_1; + u16 dma_dscr_idx_2; uint64_t size; u64 i2ssp_renderbytescount; u64 i2ssp_capturebytescount; |