]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commitfcaaba6c7136fe47e5a13352f99a64b019b6d2c5
treefac62a9876144fff179750d077c615cd970a3eb3
parent5a276fa6bdf82fd442046969603968c83626ce0b
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