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:
376ab15
)
dmaengine: qcom_hidma_lli: kill the tasklets upon exit
author
Vinod Koul
<vinod.koul@intel.com>
Wed, 6 Jul 2016 16:37:23 +0000
(22:07 +0530)
committer
Vinod Koul
<vinod.koul@intel.com>
Sat, 23 Jul 2016 10:37:27 +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: Sinan Kaya <okaya@codeaurora.org>
drivers/dma/qcom/hidma_ll.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/dma/qcom/hidma_ll.c
b/drivers/dma/qcom/hidma_ll.c
index f3929001539b0a464c30ff650a7934b22c588f52..ad20dfb64c71cb32d3b392c0fcb0dcd0002a5787 100644
(file)
--- a/
drivers/dma/qcom/hidma_ll.c
+++ b/
drivers/dma/qcom/hidma_ll.c
@@
-831,6
+831,7
@@
int hidma_ll_uninit(struct hidma_lldev *lldev)
required_bytes = sizeof(struct hidma_tre) * lldev->nr_tres;
tasklet_kill(&lldev->task);
+ tasklet_kill(&lldev->rst_task);
memset(lldev->trepool, 0, required_bytes);
lldev->trepool = NULL;
lldev->pending_tre_count = 0;