commit | f0dd52c85d6145d63f9501718cdd24955cdab675 | [log] [tgz] |
---|---|---|
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | Tue Nov 14 16:32:08 2017 +0200 |
committer | Vinod Koul <vinod.koul@intel.com> | Mon Dec 04 22:33:51 2017 +0530 |
tree | 5e1e0e2ba9b03deea402ed965057a84f1cee4ef8 | |
parent | de92436ac40ffe9933230aa503e24dbb5ede9201 [diff] |
dmaengine: dma-jz4780: 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> Signed-off-by: Vinod Koul <vinod.koul@intel.com>