From: Russell King Date: Sat, 26 May 2012 14:05:52 +0000 (+0100) Subject: dmaengine: PL08x: fix tx_status function to return correct residue X-Git-Tag: v3.6-rc1~13^2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06e885b735717d1074dec13ae8b8d15edcd63255;p=pandora-kernel.git dmaengine: PL08x: fix tx_status function to return correct residue 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. Acked-by: Linus Walleij Tested-by: Linus Walleij Signed-off-by: Russell King --- Reading git-diff-tree failed