Skip to content
Commit 3850e22f authored by Russell King's avatar Russell King
Browse files

dmaengine: omap: add support for returning residue in tx_state method



Add support for returning the residue for a particular descriptor by
reading the current DMA address for the source or destination side of
the transfer as appropriate, and walking the scatterlist until we find
an entry containing the current DMA address.

Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 7bedaa55
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment