Re: [PATCH] dmaengine: pl330: fix residual for non-running BUSY descriptors

2016-09-09 Thread Vinod Koul
On Thu, Aug 18, 2016 at 05:59:59PM -0700, Stephen Barber wrote: > 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 transition

[PATCH] dmaengine: pl330: fix residual for non-running BUSY descriptors

2016-08-18 Thread Stephen Barber
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