commit | de92436ac40ffe9933230aa503e24dbb5ede9201 | [log] [tgz] |
---|---|---|
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | Tue Nov 14 16:32:07 2017 +0200 |
committer | Vinod Koul <vinod.koul@intel.com> | Mon Dec 04 22:33:51 2017 +0530 |
tree | d5899ce6b48f379c79b084edcd363c4ccbfe47a0 | |
parent | 174334bcd9f87286aead3b1a470a82348f9d43ec [diff] |
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>