generic: fix Macronix SPI-NAND driver
[openwrt/openwrt.git] / target / linux / generic / backport-5.15 / 729-18-v6.3-net-ethernet-mtk_eth_soc-introduce-mtk_hw_reset-util.patch
index f5e9dddd42f5ff3e475ae6eee754b35690b2cbb9..45b85c06cb529dc458f8e3506a35d8ebb0ff064c 100644 (file)
@@ -16,7 +16,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
-@@ -3199,6 +3199,27 @@ static void mtk_set_mcr_max_rx(struct mt
+@@ -3200,6 +3200,27 @@ static void mtk_set_mcr_max_rx(struct mt
                mtk_w32(mac->hw, mcr_new, MTK_MAC_MCR(mac->id));
  }
  
@@ -44,7 +44,7 @@ Signed-off-by: Paolo Abeni <pabeni@redhat.com>
  static int mtk_hw_init(struct mtk_eth *eth)
  {
        u32 dma_mask = ETHSYS_DMA_AG_MAP_PDMA | ETHSYS_DMA_AG_MAP_QDMA |
-@@ -3238,22 +3259,9 @@ static int mtk_hw_init(struct mtk_eth *e
+@@ -3239,22 +3260,9 @@ static int mtk_hw_init(struct mtk_eth *e
                return 0;
        }