[RFC 31/34] dmaengine: PL08x: fix tx_status function to return correct residue

Linus Walleij linus.walleij at linaro.org
Wed May 30 21:25:24 EDT 2012


On Tue, May 29, 2012 at 5:45 PM, Russell King
<rmk+kernel at arm.linux.org.uk> wrote:

> Now that we're converted to use the generic vchan support, we can fix
> the residue return from tx_status to be compliant with dmaengine.  This
> returns the number of bytes remaining for the _specified_ cookie, not
> the number of bytes in all pending transfers on the channel.
>
> Signed-off-by: Russell King <rmk+kernel at arm.linux.org.uk>

Acked-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list