]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: imx-dma: fix callback path in tasklet
authorMichael Grzeschik <m.grzeschik@pengutronix.de>
Tue, 17 Sep 2013 13:56:08 +0000 (15:56 +0200)
committerVinod Koul <vinod.koul@intel.com>
Fri, 4 Oct 2013 09:05:03 +0000 (14:35 +0530)
commitb1ad37da222d91f7090a1cd768ad0c6b9ef5532c
treefac62a9876144fff179750d077c615cd970a3eb3
parent267f584cf9e56a7316741f38da14b3eafcf429b8
dmaengine: imx-dma: fix callback path in tasklet

We need to free the ld_active list head before jumping into the callback
routine. Otherwise the callback could run into issue_pending and change
our ld_active list head we just going to free. This will run the channel
list into an currupted and undefined state.

Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/imx-dma.c