diff options
author | 2011-01-20 05:50:37 +0800 | |
---|---|---|
committer | 2011-01-31 12:41:59 +0100 | |
commit | 8a9659114c7be6f88253618252881ea6fe0588b4 (patch) | |
tree | 4845609a6f7c48391ec1fee2a01c854590855415 /drivers/hwspinlock/hwspinlock_core.c | |
parent | dmaengine: imx-sdma: set sdmac->status to DMA_ERROR in err_out of sdma_prep_slave_sg() (diff) | |
download | wireguard-linux-8a9659114c7be6f88253618252881ea6fe0588b4.tar.xz wireguard-linux-8a9659114c7be6f88253618252881ea6fe0588b4.zip |
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>
Diffstat (limited to 'drivers/hwspinlock/hwspinlock_core.c')
0 files changed, 0 insertions, 0 deletions