Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 82c53969 authored by Hanna Hawa's avatar Hanna Hawa Committed by Greg Kroah-Hartman
Browse files

dmaengine: mv_xor_v2: kill the tasklets upon exit



[ Upstream commit 8bbafed8dd5cfa81071b50ead5cb60367fdef3a9 ]

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: 19a340b1 ("dmaengine: mv_xor_v2: new driver")

Signed-off-by: default avatarHanna Hawa <hannah@marvell.com>
Reviewed-by: default avatarThomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
Signed-off-by: default avatarSasha Levin <alexander.levin@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a8c0b9ac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment