projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b63abf1
)
dmaengine: mpc512x: kill the tasklets upon exit
author
Vinod Koul
<vinod.koul@intel.com>
Mon, 4 Jul 2016 10:43:09 +0000
(16:13 +0530)
committer
Vinod Koul
<vinod.koul@intel.com>
Sat, 16 Jul 2016 14:49:05 +0000
(20:19 +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: Mario Six <mario.six@gdsys.cc>
drivers/dma/mpc512x_dma.c
patch
|
blob
|
history
diff --git
a/drivers/dma/mpc512x_dma.c
b/drivers/dma/mpc512x_dma.c
index
ccadafa
..
fa86592
100644
(file)
--- a/
drivers/dma/mpc512x_dma.c
+++ b/
drivers/dma/mpc512x_dma.c
@@
-1110,6
+1110,7
@@
static int mpc_dma_remove(struct platform_device *op)
}
free_irq(mdma->irq, mdma);
irq_dispose_mapping(mdma->irq);
+ tasklet_kill(&mdma->tasklet);
return 0;
}