Skip to content
Commit 8a965911 authored by Shawn Guo's avatar Shawn Guo Committed by Sascha Hauer
Browse files

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: default avatarShawn Guo <shawn.guo@freescale.com>
Signed-off-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
parent 4b2ce9dd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment