summaryrefslogtreecommitdiff
path: root/drivers/dma/mmp_tdma.c
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2017-11-14 17:32:12 +0300
committerVinod Koul <vinod.koul@intel.com>2017-12-04 20:03:51 +0300
commit2c6929d2ea708fbdcab6e6721c9a57b54a7e5a6e (patch)
treec5cfa926d6c3b64b4d53b3017cf47673bee5c47a /drivers/dma/mmp_tdma.c
parent3ee7e42f3c9b62c0283a26ea13b97a8dd7dad44d (diff)
downloadlinux-2c6929d2ea708fbdcab6e6721c9a57b54a7e5a6e.tar.xz
dmaengine: s3c24xx-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> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/mmp_tdma.c')
0 files changed, 0 insertions, 0 deletions