dmaengine: zxdma: Fix force stop bug
authorJun Nie <jun.nie@linaro.org>
Wed, 5 Aug 2015 05:23:27 +0000 (13:23 +0800)
committerVinod Koul <vinod.koul@intel.com>
Wed, 5 Aug 2015 05:33:23 +0000 (11:03 +0530)
commited9c87b33147e5b007e66a282b9c8c307fbf8bf9
tree2f29cdbd77c858afe35126e39a203ba29e6c6f23
parent2092539b7735906deda8b1fca4b31b4c4eb65e0d
dmaengine: zxdma: Fix force stop bug

DMA will not stop when clearing enable bit till all transaction
is done. The bug is exposed in audio playback because ring DMA
chain never stop. Force hardware to stop with setting FORCE bit.

Signed-off-by: Jun Nie <jun.nie@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/zx296702_dma.c