diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-05-10 23:45:24 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-07-01 14:16:25 +0100 |
commit | 63fe23c34e1c18725bd1459897bf3a46335d88b7 (patch) | |
tree | 2b0b806dda260ccd075e1747834669022516434b /init | |
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>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions