Skip to content

Commit 8824ad6

Browse files
WillLestergregkh
authored andcommitted
net: macb: add missed tasklet_kill
[ Upstream commit 61183b0 ] This driver forgets to kill tasklet in remove. Add the call to fix it. Fixes: 032dc41 ("net: macb: Handle HRESP error") Signed-off-by: Chuhong Yuan <hslester96@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 195af1d commit 8824ad6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎drivers/net/ethernet/cadence/macb_main.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4393,6 +4393,7 @@ static int macb_remove(struct platform_device *pdev)
43934393
mdiobus_free(bp->mii_bus);
43944394

43954395
unregister_netdev(dev);
4396+
tasklet_kill(&bp->hresp_err_tasklet);
43964397
pm_runtime_disable(&pdev->dev);
43974398
pm_runtime_dont_use_autosuspend(&pdev->dev);
43984399
if (!pm_runtime_suspended(&pdev->dev)) {

0 commit comments

Comments
 (0)