提交 085fedf7 编写于 作者: V Vinod Koul

dmaengine: mpc512x: 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: NVinod Koul <vinod.koul@intel.com>
Cc: Mario Six <mario.six@gdsys.cc>
上级 b63abf18
...@@ -1110,6 +1110,7 @@ static int mpc_dma_remove(struct platform_device *op) ...@@ -1110,6 +1110,7 @@ static int mpc_dma_remove(struct platform_device *op)
} }
free_irq(mdma->irq, mdma); free_irq(mdma->irq, mdma);
irq_dispose_mapping(mdma->irq); irq_dispose_mapping(mdma->irq);
tasklet_kill(&mdma->tasklet);
return 0; return 0;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册