]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb1816e4d6c4e3e0dd07cfc41cbbf5d7b7d212145
tree0b68fb06fbe4b6e431d72411bffc053c3c9ccedf
parent1f68ec32b4425d17ec8a5c414155cf25a8b3de5b
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:

7f8065e 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