Messages in this thread | | | Subject | Re: [PATCH 09/10] dmaengine: k3dma: Use vchan_terminate_vdesc() instead of desc_free | From | zhangfei <> | Date | Wed, 15 Nov 2017 12:06:42 +0800 |
| |
On 2017年11月14日 22:32, Peter Ujfalusi wrote: > 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. > > CC: Zhangfei Gao <zhangfei.gao@linaro.org> > Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Thanks Peter.
Acked-by: Zhangfei Gao <zhangfei.gao@linaro.org>
| |