diff options
author | Stephen Barber <smbarber@chromium.org> | 2016-08-19 02:59:59 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2016-09-09 13:49:09 +0200 |
commit | d64e9a2c750930272492952c16f3f2c95311a6c9 (patch) | |
tree | 4238e4f37611bff089e9254004698568527a35ca /drivers/dma/s3c24xx-dma.c | |
parent | Linux 4.8-rc1 (diff) | |
download | linux-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/s3c24xx-dma.c')
0 files changed, 0 insertions, 0 deletions