diff options
author | 2017-11-14 16:32:07 +0200 | |
---|---|---|
committer | 2017-12-04 22:33:51 +0530 | |
commit | de92436ac40ffe9933230aa503e24dbb5ede9201 (patch) | |
tree | d5899ce6b48f379c79b084edcd363c4ccbfe47a0 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | dmaengine: edma: Use vchan_terminate_vdesc() instead of desc_free (diff) | |
download | wireguard-linux-de92436ac40ffe9933230aa503e24dbb5ede9201.tar.xz wireguard-linux-de92436ac40ffe9933230aa503e24dbb5ede9201.zip |
dmaengine: bcm2835-dma: 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>
Acked-by: Eric Anholt <eric@anholt.net>
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