diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2017-11-14 15:32:08 +0100 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2017-12-04 18:03:51 +0100 |
commit | f0dd52c85d6145d63f9501718cdd24955cdab675 (patch) | |
tree | 5e1e0e2ba9b03deea402ed965057a84f1cee4ef8 /drivers/dma/amba-pl08x.c | |
parent | dmaengine: bcm2835-dma: Use vchan_terminate_vdesc() instead of desc_free (diff) | |
download | linux-f0dd52c85d6145d63f9501718cdd24955cdab675.tar.xz linux-f0dd52c85d6145d63f9501718cdd24955cdab675.zip |
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>
Diffstat (limited to 'drivers/dma/amba-pl08x.c')
0 files changed, 0 insertions, 0 deletions