]> asedeno.scripts.mit.edu Git - linux.git/commit
dmaengine: omap-dma: Use vchan_terminate_vdesc() instead of desc_free
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Tue, 14 Nov 2017 14:32:05 +0000 (16:32 +0200)
committerVinod Koul <vinod.koul@intel.com>
Mon, 4 Dec 2017 17:03:51 +0000 (22:33 +0530)
commitb1faf0f564ffa6c58f7c7c9a9263dc0f7f78e215
tree4a38c14c6807b60ccf7517b107ca69eb78bbb03c
parent1c7f072d94e8b697fd9b70cdb268622a18faf522
dmaengine: omap-dma: Use vchan_terminate_vdesc() instead of desc_free

To avoid race with vchan_complete, use the race free way to terminate
running transfer.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/omap-dma.c