generic: 5.15: replace ramips AR8033 fiber patch with 5.18 patches
[openwrt/openwrt.git] / target / linux / generic / backport-5.15 / 729-22-v6.3-net-ethernet-mtk_wed-add-reset-reset_complete-callba.patch
index 9f67e97e6f0133f50cd8db7bdece5facda7f85dd..2eca26867088b6ebef37201eb96f8621cfee9fd4 100644 (file)
@@ -14,7 +14,7 @@ Signed-off-by: Paolo Abeni <pabeni@redhat.com>
 
 --- 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, &eth->state);
  
        mtk_prepare_for_reset(eth);
@@ -26,7 +26,7 @@ Signed-off-by: Paolo Abeni <pabeni@redhat.com>
  
        /* 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, &eth->state);