diff options
author | 2017-11-14 16:32:11 +0200 | |
---|---|---|
committer | 2017-12-04 22:33:51 +0530 | |
commit | 3ee7e42f3c9b62c0283a26ea13b97a8dd7dad44d (patch) | |
tree | 54f99e9db38ddc1f17cf1ff59a1a6039cb6702cc /net/unix/af_unix.c | |
parent | dmaengine: img-mdc-dma: Use vchan_terminate_vdesc() instead of desc_free (diff) | |
download | wireguard-linux-3ee7e42f3c9b62c0283a26ea13b97a8dd7dad44d.tar.xz wireguard-linux-3ee7e42f3c9b62c0283a26ea13b97a8dd7dad44d.zip |
dmaengine: k3dma: 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: Zhangfei Gao <zhangfei.gao@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions