summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShiji Yang2025-12-12 16:40:41 +0000
committerHauke Mehrtens2025-12-23 17:22:01 +0000
commitf8af185ec539df7af1cf29e1a1df2c15e4cb73a2 (patch)
treec642f5271b4f2a83c7426a3b3344170e41382ce7
parent52924bf19444bbb6c047725399b993c9a1092558 (diff)
downloadopenwrt-f8af185ec539df7af1cf29e1a1df2c15e4cb73a2.tar.gz
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@outlook.com> Link: https://github.com/openwrt/openwrt/pull/21143 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r--target/linux/generic/files/drivers/net/phy/rtl8366_smi.c2
1 files changed, 1 insertions, 1 deletions
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;
}