summaryrefslogtreecommitdiffstats
path: root/sound/soc/amd/acp.h
diff options
context:
space:
mode:
authorMukunda, Vijendar <Vijendar.Mukunda@amd.com>2018-08-06 12:57:15 +0530
committerMark Brown <broonie@kernel.org>2018-08-06 17:02:09 +0100
commit662fb3efe7ee835f0eeba6bc63b81e82a97fc312 (patch)
tree2dc0cc5c2c8dab64fbbb27f77de1e50e4986f28d /sound/soc/amd/acp.h
parentbbdb7012b0736cda0b9b00a2949e9207cf2f892f (diff)
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.h1
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;