diff options
author | Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> | 2017-05-16 01:09:16 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2017-05-19 14:55:23 +0530 |
commit | 30c45005a46bf55ba52086da5e090ec5a2f1c949 (patch) | |
tree | b816d40c7ed9baa351bcca0b50d48c22f3b6066f /samples/timers | |
parent | 427d5ecd270bad5b9ba15a42f0414accdfa4e2f8 (diff) |
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 <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'samples/timers')
0 files changed, 0 insertions, 0 deletions