dmaengine: imx-dma: dont complete descriptor for cyclic dma
authorVinod Koul <vinod.koul@linux.intel.com>
Fri, 20 Apr 2012 09:58:07 +0000 (15:28 +0530)
committerVinod Koul <vinod.koul@linux.intel.com>
Fri, 20 Apr 2012 09:58:07 +0000 (15:28 +0530)
commit60f2951e3ad9b833bc12e2ea7652be2611771792
treeb7ac7796aca149e09e8b39b5ddc9ce208c17c118
parentdd775ae2549217d3ae09363e3edb305d0fa19928
dmaengine: imx-dma: 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

Tested-by: Javier Martin <javier.martin@vista-silicon.com>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
drivers/dma/imx-dma.c