commit | fc0c03fac7a7435630315173c0751ef1cbf0cc6d | [log] [tgz] |
---|---|---|
author | developer <developer@mediatek.com> | Wed Sep 25 12:16:18 2024 +0800 |
committer | developer <developer@mediatek.com> | Tue Oct 01 15:12:50 2024 +0800 |
tree | 795fd1d2b3a9f3814bf6e68086b2f7aaa66204bd | |
parent | 31cd1905a6aecfaaecb4a164001f559c44e88279 [diff] |
[][kernel][mt7988][eth][net: phy: mediatek: mtk-2p5ge: Fix fw loading flow] [Description] Fix fw loading flow. A misconfiguration is applied in change id: Ibd179ef7559dfb25e4d049b4ece90a9aaaa30611 Without this patch, fw loading flow may cause unpredictable RCU stall. [Release-log] N/A Change-Id: I06180a8de7961de3fff1becc1fac9f0948695191 Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/9676398
diff --git a/21.02/files/target/linux/mediatek/files-5.4/drivers/net/phy/mediatek/mtk-2p5ge.c b/21.02/files/target/linux/mediatek/files-5.4/drivers/net/phy/mediatek/mtk-2p5ge.c index 88696da..0a4cb25 100644 --- a/21.02/files/target/linux/mediatek/files-5.4/drivers/net/phy/mediatek/mtk-2p5ge.c +++ b/21.02/files/target/linux/mediatek/files-5.4/drivers/net/phy/mediatek/mtk-2p5ge.c
@@ -383,9 +383,6 @@ goto free_pmb; } - reg = readw(mcu_csr_base + MD32_EN_CFG); - writew(reg | MD32_EN, mcu_csr_base + MD32_EN_CFG); - ret = request_firmware(&fw, MT7988_2P5GE_PMB_FW, dev); if (ret) { dev_err(dev, "failed to load firmware: %s, ret: %d\n",