mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 09:19:51 +00:00
dmaengine: fsl_raid: kill the tasklets upon exit
drivers should ensure that tasklets are killed, so that they can't be run after driver remove is executed Signed-off-by: Vinod Koul <vinod.koul@intel.com> Cc: Xuelin Shi <xuelin.shi@freescale.com>
This commit is contained in:
parent
476c7c809e
commit
cb28c7ab78
1 changed files with 2 additions and 0 deletions
|
@ -856,6 +856,8 @@ static int fsl_re_probe(struct platform_device *ofdev)
|
|||
|
||||
static void fsl_re_remove_chan(struct fsl_re_chan *chan)
|
||||
{
|
||||
tasklet_kill(&chan->irqtask);
|
||||
|
||||
dma_pool_free(chan->re_dev->hw_desc_pool, chan->inb_ring_virt_addr,
|
||||
chan->inb_phys_addr);
|
||||
|
||||
|
|
Loading…
Reference in a new issue