--- a/drivers/net/ethernet/mediatek/mtk_eth_soc.c
+++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.c
-@@ -3645,6 +3645,11 @@ static void mtk_pending_work(struct work
+@@ -3646,6 +3646,11 @@ static void mtk_pending_work(struct work
set_bit(MTK_RESETTING, ð->state);
mtk_prepare_for_reset(eth);
/* stop all devices to make sure that dma is properly shut down */
for (i = 0; i < MTK_MAC_COUNT; i++) {
-@@ -3682,6 +3687,8 @@ static void mtk_pending_work(struct work
+@@ -3683,6 +3688,8 @@ static void mtk_pending_work(struct work
clear_bit(MTK_RESETTING, ð->state);