From: Russell King Date: Thu, 10 May 2012 22:45:24 +0000 (+0100) Subject: dmaengine: sa11x0-dma: fix DMA residue support X-Git-Tag: v3.6-rc1~13^2^3~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63fe23c34e1c18725bd1459897bf3a46335d88b7;p=pandora-kernel.git 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 --- Reading git-diff-tree failed