--- a/drivers/net/ethernet/mediatek/mtk_eth_soc.c
+++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.c
-@@ -1758,7 +1758,7 @@ static int mtk_rx_alloc(struct mtk_eth *
+@@ -1775,7 +1775,7 @@ static int mtk_rx_alloc(struct mtk_eth *
}
ring->dma = dma_alloc_coherent(eth->dma_dev,
&ring->phys, GFP_KERNEL);
if (!ring->dma)
return -ENOMEM;
-@@ -1816,9 +1816,8 @@ static void mtk_rx_clean(struct mtk_eth
+@@ -1833,9 +1833,8 @@ static void mtk_rx_clean(struct mtk_eth
if (ring->dma) {
dma_free_coherent(eth->dma_dev,
ring->dma = NULL;
}
}
-@@ -3386,6 +3385,7 @@ static const struct mtk_soc_data mt2701_
+@@ -3403,6 +3402,7 @@ static const struct mtk_soc_data mt2701_
.required_pctl = true,
.txrx = {
.txd_size = sizeof(struct mtk_tx_dma),
},
};
-@@ -3397,6 +3397,7 @@ static const struct mtk_soc_data mt7621_
+@@ -3414,6 +3414,7 @@ static const struct mtk_soc_data mt7621_
.offload_version = 2,
.txrx = {
.txd_size = sizeof(struct mtk_tx_dma),
},
};
-@@ -3409,6 +3410,7 @@ static const struct mtk_soc_data mt7622_
+@@ -3426,6 +3427,7 @@ static const struct mtk_soc_data mt7622_
.offload_version = 2,
.txrx = {
.txd_size = sizeof(struct mtk_tx_dma),
},
};
-@@ -3420,6 +3422,7 @@ static const struct mtk_soc_data mt7623_
+@@ -3437,6 +3439,7 @@ static const struct mtk_soc_data mt7623_
.offload_version = 2,
.txrx = {
.txd_size = sizeof(struct mtk_tx_dma),
},
};
-@@ -3431,6 +3434,7 @@ static const struct mtk_soc_data mt7629_
+@@ -3448,6 +3451,7 @@ static const struct mtk_soc_data mt7629_
.required_pctl = false,
.txrx = {
.txd_size = sizeof(struct mtk_tx_dma),
},
};
-@@ -3441,6 +3445,7 @@ static const struct mtk_soc_data rt5350_
+@@ -3458,6 +3462,7 @@ static const struct mtk_soc_data rt5350_
.required_pctl = false,
.txrx = {
.txd_size = sizeof(struct mtk_tx_dma),