diff options
author | Vinod Koul <vinod.koul@intel.com> | 2016-07-04 12:43:09 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2016-07-16 16:49:05 +0200 |
commit | 085fedf7ee17a966d3e5b5d8523a18e3017242cf (patch) | |
tree | 01cd73acc636d51c5ac3e36b410ba60c2b33debf | |
parent | dmaengine: nbpfaxi: kill the tasklets upon exit (diff) | |
download | linux-085fedf7ee17a966d3e5b5d8523a18e3017242cf.tar.xz linux-085fedf7ee17a966d3e5b5d8523a18e3017242cf.zip |
dmaengine: mpc512x: 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: Mario Six <mario.six@gdsys.cc>
-rw-r--r-- | drivers/dma/mpc512x_dma.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/mpc512x_dma.c b/drivers/dma/mpc512x_dma.c index ccadafa51d5e..fa86592c7ae1 100644 --- a/drivers/dma/mpc512x_dma.c +++ b/drivers/dma/mpc512x_dma.c @@ -1110,6 +1110,7 @@ static int mpc_dma_remove(struct platform_device *op) } free_irq(mdma->irq, mdma); irq_dispose_mapping(mdma->irq); + tasklet_kill(&mdma->tasklet); return 0; } |