[RFC 31/34] dmaengine: PL08x: fix tx_status function to return correct residue
From: Linus Walleij <hidden>
Date: 2012-05-31 01:25:24
From: Linus Walleij <hidden>
Date: 2012-05-31 01:25:24
On Tue, May 29, 2012 at 5:45 PM, Russell King [off-list ref] 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 <redacted>
Acked-by: Linus Walleij <redacted> Yours, Linus Walleij