]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: pl330: dont complete descriptor for cyclic dma
authorVinod Koul <vinod.koul@linux.intel.com>
Fri, 11 May 2012 05:54:41 +0000 (11:24 +0530)
committerVinod Koul <vinod.koul@linux.intel.com>
Fri, 11 May 2012 05:54:41 +0000 (11:24 +0530)
commit127ab77f5e0bbf7be161c53591312c16aab1d61a
tree2000d5cd6f0ba08c7b6868cff3ac5ab23007524f
parentca5010171a5e9bd2a465e261611bfffbc9aac00c
dmaengine: pl330: dont complete descriptor for cyclic dma

the cookie updates completed the cyclic dma descriptor wrongly. This caused the
BUG_ON to be hit as submit is called for completed descriptor

Fix this by not marking the cyclic descriptor as complete

Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
Tested-by: Thomas Abraham <thomas.abraham@linaro.org>
drivers/dma/pl330.c