mirror of
https://github.com/openwrt/openwrt.git
synced 2026-05-03 11:55:46 +04:00
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>
This commit is contained in:
committed by
Hauke Mehrtens
parent
52924bf194
commit
f8af185ec5
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user