aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorPeter Ujfalusi <[email protected]>2017-11-14 14:32:12 +0000
committerVinod Koul <[email protected]>2017-12-04 17:03:51 +0000
commit2c6929d2ea708fbdcab6e6721c9a57b54a7e5a6e (patch)
treec5cfa926d6c3b64b4d53b3017cf47673bee5c47a /drivers/fpga/fpga-mgr.c
parentdmaengine: k3dma: Use vchan_terminate_vdesc() instead of desc_free (diff)
downloadkernel-2c6929d2ea708fbdcab6e6721c9a57b54a7e5a6e.tar.gz
kernel-2c6929d2ea708fbdcab6e6721c9a57b54a7e5a6e.zip
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 <[email protected]> Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions