dmaengine: pl330: dont complete descriptor for cyclic dma
authorTushar Behera <tushar.behera@linaro.org>
Wed, 23 May 2012 11:17:31 +0000 (16:47 +0530)
committerVinod Koul <vinod.koul@linux.intel.com>
Thu, 7 Jun 2012 08:12:58 +0000 (13:42 +0530)
commit30c1dc0ff30b5552e8af555265dbeac5637cbb48
tree2f1f101e37de525fbd8c1c75a15debd5c865c4f1
parentf8f5701bdaf9134b1f90e5044a82c66324d2073f
dmaengine: pl330: dont complete descriptor for cyclic dma

Commit eab215855803 ("dmaengine: pl330: dont complete descriptor for
cyclic dma") wrongly completes descriptor for cyclic dma, hence following
BUG_ON is still hit with cyclic DMA operations.

kernel BUG at drivers/dma/dmaengine.h:53!

Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
Acked-by: Jassi Brar <jaswinder.singh@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
Cc: stable <stable@vger.kernel.org>
drivers/dma/pl330.c