commit | 8a9659114c7be6f88253618252881ea6fe0588b4 | [log] [tgz] |
---|---|---|
author | Shawn Guo <shawn.guo@freescale.com> | Thu Jan 20 05:50:37 2011 +0800 |
committer | Sascha Hauer <s.hauer@pengutronix.de> | Mon Jan 31 12:41:59 2011 +0100 |
tree | 4845609a6f7c48391ec1fee2a01c854590855415 | |
parent | 4b2ce9ddb370c4eb573540611c347d78ac4b54a0 [diff] |
dmaengine: imx-sdma: return sdmac->status in sdma_tx_status() 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>