[openwrt/openwrt] kernel: rtl836x: change missing mdio node log level to info

LEDE Commits lede-commits at lists.infradead.org
Tue Dec 23 09:24:22 PST 2025


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/f8af185ec539df7af1cf29e1a1df2c15e4cb73a2

commit f8af185ec539df7af1cf29e1a1df2c15e4cb73a2
Author: Shiji Yang <yangshiji66 at outlook.com>
AuthorDate: Sat Dec 13 00:40:41 2025 +0800

    kernel: rtl836x: change missing mdio node log level to info
    
    mdio node is optional for the rtl836x switch. Some devices use GPIO to
    control the switch chip. Missing mdio is a normal behavior.
    
    Signed-off-by: Shiji Yang <yangshiji66 at outlook.com>
    Link: https://github.com/openwrt/openwrt/pull/21143
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 target/linux/generic/files/drivers/net/phy/rtl8366_smi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/generic/files/drivers/net/phy/rtl8366_smi.c b/target/linux/generic/files/drivers/net/phy/rtl8366_smi.c
index f043b2b875..f4879a827b 100644
--- a/target/linux/generic/files/drivers/net/phy/rtl8366_smi.c
+++ b/target/linux/generic/files/drivers/net/phy/rtl8366_smi.c
@@ -1489,7 +1489,7 @@ static int rtl8366_smi_probe_of(struct platform_device *pdev, struct rtl8366_smi
 
 	mdio_node = of_parse_phandle(np, "mii-bus", 0);
 	if (!mdio_node) {
-		dev_err(&pdev->dev, "cannot find mdio node phandle");
+		dev_info(&pdev->dev, "cannot find mdio node phandle");
 		goto try_gpio;
 	}
 




More information about the lede-commits mailing list