dmaengine: imx-sdma: return sdmac->status in sdma_tx_status()
authorShawn Guo <shawn.guo@freescale.com>
Wed, 19 Jan 2011 21:50:37 +0000 (05:50 +0800)
committerSascha Hauer <s.hauer@pengutronix.de>
Mon, 31 Jan 2011 11:41:59 +0000 (12:41 +0100)
The sdmac->status was designed to reflect the status of the tx,
so simply return it in sdma_tx_status().  Then dma client can call
dma_async_is_tx_complete() to know the status of the tx.

Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>

No differences found