Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dmaengine: rcar-dmac: implement device_synchronize()
Implement the device_synchronize() callback which wait until a dma channel is stopped to provide a synchronization point. This protects the driver from multiple race conditions when terminating and freeing resources. E.g. the completion callback still running after device_terminate_all() has completed. Signed-off-by: Niklas Söderlund <[email protected]> Signed-off-by: Vinod Koul <[email protected]> (cherry picked from commit 30c4500) Signed-off-by: Hiroyuki Yokoyama <[email protected]>
- Loading branch information