diff options
author | Vijendar Mukunda <Vijendar.Mukunda@amd.com> | 2018-05-08 10:17:45 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-05-11 12:13:24 +0900 |
commit | 7f0048478470046c9efc956c6100b70836ac9f97 (patch) | |
tree | adf55c273a2c637941659c1b61120d4b54bedf29 /sound/soc/amd/acp.h | |
parent | 8769bb55fe1d9912c9cd9e008afb14e22a762103 (diff) | |
download | lwn-7f0048478470046c9efc956c6100b70836ac9f97.tar.gz lwn-7f0048478470046c9efc956c6100b70836ac9f97.zip |
ASoC: amd: added byte count register offset variables to rtd
Added byte count register offset variables to audio_substream_data
structure. Modified dma pointer callback.
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 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/amd/acp.h b/sound/soc/amd/acp.h index 5e25428e6bbe..3b076c6a0ae2 100644 --- a/sound/soc/amd/acp.h +++ b/sound/soc/amd/acp.h @@ -90,6 +90,8 @@ struct audio_substream_data { u16 destination; u16 dma_dscr_idx_1; u16 dma_dscr_idx_2; + u32 byte_cnt_high_reg_offset; + u32 byte_cnt_low_reg_offset; uint64_t size; u64 i2ssp_renderbytescount; u64 i2ssp_capturebytescount; |