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:
debc484
)
dmaengine: qcom_hidma: kill the tasklets upon exit
author
Vinod Koul
<vinod.koul@intel.com>
Tue, 5 Jul 2016 09:27:40 +0000
(14:57 +0530)
committer
Vinod Koul
<vinod.koul@intel.com>
Sat, 23 Jul 2016 10:37:25 +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>
Acked-by: Sinan Kaya <okaya@codeaurora.org>
drivers/dma/qcom/hidma.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/dma/qcom/hidma.c
b/drivers/dma/qcom/hidma.c
index 41b5c6dee713239623b550dbbe39189f6110ba1c..b2374cd91e457f38b946548cd3bcda7aed47e82e 100644
(file)
--- a/
drivers/dma/qcom/hidma.c
+++ b/
drivers/dma/qcom/hidma.c
@@
-708,6
+708,7
@@
static int hidma_remove(struct platform_device *pdev)
pm_runtime_get_sync(dmadev->ddev.dev);
dma_async_device_unregister(&dmadev->ddev);
devm_free_irq(dmadev->ddev.dev, dmadev->irq, dmadev->lldev);
+ tasklet_kill(&dmadev->task);
hidma_debug_uninit(dmadev);
hidma_ll_uninit(dmadev->lldev);
hidma_free(dmadev);