[PATCH 09/10] dmaengine: k3dma: Use vchan_terminate_vdesc() instead of desc_free

zhangfei zhangfei.gao at linaro.org
Tue Nov 14 20:06:42 PST 2017



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 at linaro.org>
> Signed-off-by: Peter Ujfalusi <peter.ujfalusi at ti.com>

Thanks Peter.

Acked-by: Zhangfei Gao <zhangfei.gao at linaro.org>



More information about the linux-arm-kernel mailing list