[PATCH v2 0/3] dmaengine: k3dma: Fix non-cyclic mode

From: Antonio Borneo
Date: Tue Aug 01 2017 - 16:09:59 EST


Commit 36387a2b1f62b5c087c5fe6f0f7b23b94f722ad7 ("k3dma: Fix
memory handling in preparation for cyclic mode") broke the
logic around ds_run/ds_done in case of non-cyclic DMA.

This v2 splits the initial patch in three parts:
- the real fix for non-cyclic mode
- another fix for a double free introduced in the same commit
- cosmetic removal of useless ON_WARN_ONCE()

Thread in https://patchwork.kernel.org/patch/9833791/

v1 -> v2
- split the patch
- change patch title to "dmaengine: ..."

Antonio Borneo (3):
dmaengine: k3dma: fix non-cyclic mode
dmaengine: k3dma: fix double free of descriptor
dmaengine: k3dma: remove useless ON_WARN_ONCE()

drivers/dma/k3dma.c | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)

--
1.9.1