diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2017-11-14 17:32:07 +0300 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2017-12-04 20:03:51 +0300 |
commit | de92436ac40ffe9933230aa503e24dbb5ede9201 (patch) | |
tree | d5899ce6b48f379c79b084edcd363c4ccbfe47a0 /drivers/fpga/fpga-mgr.c | |
parent | 174334bcd9f87286aead3b1a470a82348f9d43ec (diff) | |
download | linux-de92436ac40ffe9933230aa503e24dbb5ede9201.tar.xz |
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 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions