]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
dmaengine: pl330: improve pl330_tx_status() function
authorRobert Baldyga <r.baldyga@samsung.com>
Wed, 11 Feb 2015 12:23:17 +0000 (13:23 +0100)
committerVinod Koul <vinod.koul@intel.com>
Mon, 16 Feb 2015 04:03:35 +0000 (09:33 +0530)
commitaee4d1fac887252faf6f7caf7bf1616131d5dbcd
tree0faf7d79ee54bffcf1cbddacd00593a4d74820fc
parentbe6893e1958035cbeff281b833777c5cd3fb36ad
dmaengine: pl330: improve pl330_tx_status() function

This patch adds possibility to read residue of DMA transfer. It's useful
when we want to know how many bytes have been transferred before we
terminate channel. It can take place, for example, on timeout interrupt.

Signed-off-by: Lukasz Czerwinski <l.czerwinski@samsung.com>
Signed-off-by: Robert Baldyga <r.baldyga@samsung.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/pl330.c