projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/drivers/dma/mpc512x_dma.c
b/drivers/dma/mpc512x_dma.c
index ccadafa51d5ed940842030c13b22f4900d8b160f..fa86592c7ae1d80b717a710a31a81f0f618b2acc 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;
}