Re: [PATCH 0/4] dmaengine: Add transfer termination synchronization support

2015-10-28 Thread Vinod Koul
On Tue, Oct 20, 2015 at 11:46:27AM +0200, Lars-Peter Clausen wrote: > The DMAengine API has a long standing issue that is inherent to the API > itself. For a client that calls dmaengine_terminate_all() it is not > possible to properly synchronize the completion of any currently running > complete c

[PATCH 0/4] dmaengine: Add transfer termination synchronization support

2015-10-20 Thread Lars-Peter Clausen
The DMAengine API has a long standing issue that is inherent to the API itself. For a client that calls dmaengine_terminate_all() it is not possible to properly synchronize the completion of any currently running complete callbacks to the current context. This means it is possible to end up with a