diff options
author | Mukunda, Vijendar <Vijendar.Mukunda@amd.com> | 2018-08-06 10:27:15 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-08-06 19:02:09 +0300 |
commit | 662fb3efe7ee835f0eeba6bc63b81e82a97fc312 (patch) | |
tree | 2dc0cc5c2c8dab64fbbb27f77de1e50e4986f28d /sound/soc/amd/acp.h | |
parent | bbdb7012b0736cda0b9b00a2949e9207cf2f892f (diff) | |
download | linux-662fb3efe7ee835f0eeba6bc63b81e82a97fc312.tar.xz |
ASoC: AMD: Modified DMA pointer for capture
Give position on ACP->SYSMEM DMA channel for
the number of bytes that have been transferred on
the basis of current descriptor under service.
Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Signed-off-by: Akshu Agrawal <akshu.agrawal@amd.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/amd/acp.h')
-rw-r--r-- | sound/soc/amd/acp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/amd/acp.h b/sound/soc/amd/acp.h index 0a2240bff62e..be3963e8f4fa 100644 --- a/sound/soc/amd/acp.h +++ b/sound/soc/amd/acp.h @@ -138,6 +138,7 @@ struct audio_substream_data { u32 sram_bank; u32 byte_cnt_high_reg_offset; u32 byte_cnt_low_reg_offset; + u32 dma_curr_dscr; uint64_t size; u64 bytescount; void __iomem *acp_mmio; |