summaryrefslogtreecommitdiff
path: root/drivers/dma/dma-jz4780.c
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2017-11-14 17:32:07 +0300
committerVinod Koul <vinod.koul@intel.com>2017-12-04 20:03:51 +0300
commitde92436ac40ffe9933230aa503e24dbb5ede9201 (patch)
treed5899ce6b48f379c79b084edcd363c4ccbfe47a0 /drivers/dma/dma-jz4780.c
parent174334bcd9f87286aead3b1a470a82348f9d43ec (diff)
downloadlinux-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/dma/dma-jz4780.c')
0 files changed, 0 insertions, 0 deletions