commit | 3850e22f5146d2ff5b66f1b7460d4720d5f1b6c7 | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@arm.linux.org.uk> | Thu Jun 21 10:37:35 2012 +0100 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Tue Jul 31 12:06:21 2012 +0100 |
tree | e793d4d24faf61ebedeb96280ce4564643d1235b | |
parent | 7bedaa5537604f34d1d63c5ec7891e559d2a61ed [diff] |
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: Russell King <rmk+kernel@arm.linux.org.uk>