projects
/
cascardo
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
476c7c8
)
dmaengine: fsl_raid: kill the tasklets upon exit
author
Vinod Koul
<vinod.koul@intel.com>
Fri, 1 Jul 2016 17:18:49 +0000
(22:48 +0530)
committer
Vinod Koul
<vinod.koul@intel.com>
Sat, 16 Jul 2016 14:48:59 +0000
(20:18 +0530)
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>
drivers/dma/fsl_raid.c
patch
|
blob
|
history
diff --git
a/drivers/dma/fsl_raid.c
b/drivers/dma/fsl_raid.c
index
4d9470f
..
1b71d1f
100644
(file)
--- a/
drivers/dma/fsl_raid.c
+++ b/
drivers/dma/fsl_raid.c
@@
-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);