summaryrefslogtreecommitdiff
path: root/drivers/dma/virt-dma.c
diff options
context:
space:
mode:
authorHanna Hawa <hannah@marvell.com>2018-07-17 13:30:00 +0300
committerVinod Koul <vkoul@kernel.org>2018-07-20 15:01:58 +0530
commit8bbafed8dd5cfa81071b50ead5cb60367fdef3a9 (patch)
treebf7a0978409def77f35b298c2fd99f9eecb4ffbe /drivers/dma/virt-dma.c
parent48c008b5914f9bca44fccce103627bcf39928f95 (diff)
dmaengine: mv_xor_v2: kill the tasklets upon exit
The mv_xor_v2 driver uses a tasklet, initialized during the probe() routine. However, it forgets to cleanup the tasklet using tasklet_kill() function during the remove() routine, which this patch fixes. This prevents the tasklet from potentially running after the module has been removed. Fixes: 19a340b1a820 ("dmaengine: mv_xor_v2: new driver") Signed-off-by: Hanna Hawa <hannah@marvell.com> Reviewed-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/virt-dma.c')
0 files changed, 0 insertions, 0 deletions