dmaengine: ste_dma40: do not remove descriptors for cyclic transfers
authorFabio Baltieri <fabio.baltieri@linaro.org>
Thu, 14 Feb 2013 09:03:10 +0000 (10:03 +0100)
committerVinod Koul <vinod.koul@intel.com>
Thu, 14 Feb 2013 14:24:31 +0000 (19:54 +0530)
commit7dd145252574e34d92ad574e5168e4115639c0be
tree0b68fb06fbe4b6e431d72411bffc053c3c9ccedf
parente68b1130dfbb834a4a028df01133591aeb59d241
dmaengine: ste_dma40: do not remove descriptors for cyclic transfers

Fix dma_tc_handle() to call d40_desc_remove() and d40_desc_done() only
for non-cyclic transfers, as this was breaking ux500_pcm since
introduced in:

d49278e dmaengine: dma40: Add support to split up large elements

Reported-by: Shreshtha Kumar Sahu <shreshthakumar.sahu@stericsson.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Fabio Baltieri <fabio.baltieri@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/ste_dma40.c