aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2016-07-06 22:07:23 +0530
committerVinod Koul <vinod.koul@intel.com>2016-07-23 16:07:27 +0530
commit4cad91b2a9977c8d92f342c4a9b73cd9dbce8f21 (patch)
tree090745d8637cf5ee2b63e578163210298de4b400 /drivers/dma
parentdmaengine: pxa_dma: remove owner assignment (diff)
downloadlinux-dev-4cad91b2a9977c8d92f342c4a9b73cd9dbce8f21.tar.xz
linux-dev-4cad91b2a9977c8d92f342c4a9b73cd9dbce8f21.zip
dmaengine: qcom_hidma_lli: kill the tasklets upon exit
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>
Diffstat (limited to 'drivers/dma')
-rw-r--r--drivers/dma/qcom/hidma_ll.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/qcom/hidma_ll.c b/drivers/dma/qcom/hidma_ll.c
index f3929001539b..ad20dfb64c71 100644
--- 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;