Skip to content
Commit 63fe23c3 authored by Russell King's avatar Russell King
Browse files

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: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 571fa740
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