commit | 63fe23c34e1c18725bd1459897bf3a46335d88b7 | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@arm.linux.org.uk> | Thu May 10 23:45:24 2012 +0100 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Sun Jul 01 14:16:25 2012 +0100 |
tree | 2b0b806dda260ccd075e1747834669022516434b | |
parent | 571fa74034701391b1be2ad193f684acfdeb75d1 [diff] |
dmaengine: sa11x0-dma: fix DMA residue support The semantics now implemented are: - If the cookie has completed successfully, the residue will be zero. - If the cookie is in progress or the channel is paused, it will be the number of bytes yet to be transferred. [*] - If the cookie is queued, it will be the number of bytes in the descriptor. * - where this is the number of bytes yet to be transferred to/from RAM. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>