summaryrefslogtreecommitdiffstats
path: root/drivers/dma/txx9dmac.c
diff options
context:
space:
mode:
authorStephen Barber <smbarber@chromium.org>2016-08-19 02:59:59 +0200
committerVinod Koul <vinod.koul@intel.com>2016-09-09 13:49:09 +0200
commitd64e9a2c750930272492952c16f3f2c95311a6c9 (patch)
tree4238e4f37611bff089e9254004698568527a35ca /drivers/dma/txx9dmac.c
parentLinux 4.8-rc1 (diff)
downloadlinux-d64e9a2c750930272492952c16f3f2c95311a6c9.tar.xz
linux-d64e9a2c750930272492952c16f3f2c95311a6c9.zip
dmaengine: pl330: fix residual for non-running BUSY descriptors
Only one descriptor in the work list should be running at any given time, but it's possible to have an enqueued BUSY descriptor that has not yet transferred any data, or for a BUSY descriptor to linger briefly before transitioning to DONE. These cases should be handled to keep residual calculations consistent even with the non-running BUSY descriptors in the work list. Signed-off-by: Stephen Barber <smbarber@chromium.org> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/txx9dmac.c')
0 files changed, 0 insertions, 0 deletions