diff options
author | 2017-11-14 16:32:09 +0200 | |
---|---|---|
committer | 2017-12-04 22:33:51 +0530 | |
commit | 47d71bc75d072ce25c1063aa629e55e1cfb961b2 (patch) | |
tree | 93c709f5b2b21a5489e20ca4b5deac5bbe5aa4e1 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | dmaengine: dma-jz4780: Use vchan_terminate_vdesc() instead of desc_free (diff) | |
download | wireguard-linux-47d71bc75d072ce25c1063aa629e55e1cfb961b2.tar.xz wireguard-linux-47d71bc75d072ce25c1063aa629e55e1cfb961b2.zip |
dmaengine: amba-pl08x: Use vchan_terminate_vdesc() instead of desc_free
To avoid race with vchan_complete, use the race free way to terminate
running transfer.
Implement the device_synchronize callback to make sure that the terminated
descriptor is freed.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions