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:
84c610b
)
dmaengine: nbpfaxi: kill the tasklets upon exit
author
Vinod Koul
<vinod.koul@intel.com>
Mon, 4 Jul 2016 10:36:04 +0000
(16:06 +0530)
committer
Vinod Koul
<vinod.koul@intel.com>
Sat, 16 Jul 2016 14:49:04 +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: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com>
drivers/dma/nbpfaxi.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/dma/nbpfaxi.c
b/drivers/dma/nbpfaxi.c
index f489f4e3429fc533ea02a75f941eef16ea53c622..08c45c18554966fb0cc1aa657ad18cd5d1be5e30 100644
(file)
--- a/
drivers/dma/nbpfaxi.c
+++ b/
drivers/dma/nbpfaxi.c
@@
-1456,6
+1456,8
@@
static int nbpf_remove(struct platform_device *pdev)
struct nbpf_channel *chan = nbpf->chan + i;
devm_free_irq(&pdev->dev, chan->irq, chan);
+
+ tasklet_kill(&chan->tasklet);
}
of_dma_controller_free(pdev->dev.of_node);