dmaengine: imx-sdma: correct sdmac->status in sdma_handle_channel_loop()
commit1e9cebb42de57f1243261939c77ab5b0f9bcf311
authorShawn Guo <shawn.guo@freescale.com>
Wed, 19 Jan 2011 21:50:38 +0000 (20 05:50 +0800)
committerSascha Hauer <s.hauer@pengutronix.de>
Mon, 31 Jan 2011 11:42:12 +0000 (31 12:42 +0100)
treeaaeee8f1f5d9e61e0adc7adb9273558761b3892f
parent8a9659114c7be6f88253618252881ea6fe0588b4
dmaengine: imx-sdma: correct sdmac->status in sdma_handle_channel_loop()

sdma_handle_channel_loop() is the handler of cyclic tx.  One period
success does not really mean the success of the tx.  Instead of
DMA_SUCCESS, DMA_IN_PROGRESS should be the one to tell.

Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
drivers/dma/imx-sdma.c