diff options
| author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2017-11-14 16:32:07 +0200 |
|---|---|---|
| committer | Vinod Koul <vinod.koul@intel.com> | 2017-12-04 22:33:51 +0530 |
| commit | de92436ac40ffe9933230aa503e24dbb5ede9201 (patch) | |
| tree | d5899ce6b48f379c79b084edcd363c4ccbfe47a0 /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | dmaengine: edma: Use vchan_terminate_vdesc() instead of desc_free (diff) | |
| download | linux-de92436ac40ffe9933230aa503e24dbb5ede9201.tar.gz 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/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
