projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e654bf
)
dmaengine: sirf-dma: kill the tasklets upon exit
author
Vinod Koul
<vinod.koul@intel.com>
Tue, 5 Jul 2016 06:26:10 +0000
(11:56 +0530)
committer
Vinod Koul
<vinod.koul@intel.com>
Sat, 23 Jul 2016 10:37:24 +0000
(16:07 +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: Barry Song <Baohua.Song@csr.com>
drivers/dma/sirf-dma.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/dma/sirf-dma.c
b/drivers/dma/sirf-dma.c
index 906877919cf383adc73cf23c8f7d20580a737439..d8bc3f2a71db1ad7dee743cd92999f970eb97832 100644
(file)
--- a/
drivers/dma/sirf-dma.c
+++ b/
drivers/dma/sirf-dma.c
@@
-980,6
+980,7
@@
static int sirfsoc_dma_remove(struct platform_device *op)
of_dma_controller_free(op->dev.of_node);
dma_async_device_unregister(&sdma->dma);
free_irq(sdma->irq, sdma);
+ tasklet_kill(&sdma->tasklet);
irq_dispose_mapping(sdma->irq);
pm_runtime_disable(&op->dev);
if (!pm_runtime_status_suspended(&op->dev))
This page took
0.025103 seconds
and
5
git commands to generate.