ASoC: AMD: make channel 1 dma as circular
authorAgrawal, Akshu <Akshu.Agrawal@amd.com>
Mon, 28 May 2018 03:48:22 +0000 (11:48 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 29 May 2018 13:56:21 +0000 (14:56 +0100)
commit6b116dfb4633a7efce7f96355c2d272d8b16f0fb
tree216afacd365781473b48a211f81df4f841db2e89
parentbcf441acb414f1a238850ffdfdf07ce48c716a60
ASoC: AMD: make channel 1 dma as circular

channel 1: SYSMEM<->ACP
channel 2: ACP<->I2S
Instead of waiting on period interrupt of ch 2 and then starting
dma on ch1, we make ch1 dma as circular.
This removes dependency of period granularity on hw pointer.

Signed-off-by: Akshu Agrawal <akshu.agrawal@amd.com>
Reviewed-by: Daniel Kurtz <djkurtz@chromium.org>
Tested-by: Daniel Kurtz <djkurtz@chromium.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/acp-pcm-dma.c