]> git.baikalelectronics.ru Git - kernel.git/commit
net: amd-xgbe: add missed tasklet_kill
authorJiguang Xiao <jiguang.xiao@windriver.com>
Wed, 28 Dec 2022 08:14:47 +0000 (16:14 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Jan 2023 10:41:57 +0000 (11:41 +0100)
commita873291eed6248e0c5b61c876b25622b2abdb976
tree16489ccecde4f0c5660c8c3063763837308efd0d
parentf77763f344bc2a80d5a0adf892c4af9dd0dca999
net: amd-xgbe: add missed tasklet_kill

[ Upstream commit d530ece70f16f912e1d1bfeea694246ab78b0a4b ]

The driver does not call tasklet_kill in several places.
Add the calls to fix it.

Fixes: f43c3d6c3420 ("amd-xgbe: Re-issue interrupt if interrupt status not cleared")
Signed-off-by: Jiguang Xiao <jiguang.xiao@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/amd/xgbe/xgbe-drv.c
drivers/net/ethernet/amd/xgbe/xgbe-i2c.c
drivers/net/ethernet/amd/xgbe/xgbe-mdio.c