[PATCH u-boot-net v4 06/14] net: phy: fix parsing wrong property
Marek Behún
kabel at kernel.org
Thu Apr 7 00:33:00 CEST 2022
From: Marek Behún <marek.behun at nic.cz>
The "phy-interface-type" property should be "phy-connection-type".
Signed-off-by: Marek Behún <marek.behun at nic.cz>
Reviewed-by: Ramon Fried <rfried.dev at gmail.com>
Reviewed-by: Vladimir Oltean <vladimir.oltean at nxp.com>
---
drivers/net/phy/phy.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c
index 92fff5b72c..c8289d3889 100644
--- a/drivers/net/phy/phy.c
+++ b/drivers/net/phy/phy.c
@@ -989,7 +989,7 @@ struct phy_device *fixed_phy_create(ofnode node)
if_str = ofnode_read_string(node, "phy-mode");
if (!if_str) {
- if_str = ofnode_read_string(node, "phy-interface-type");
+ if_str = ofnode_read_string(node, "phy-connection-type");
}
if (if_str) {
interface = phy_get_interface_by_name(if_str);
--
2.35.1
More information about the U-Boot
mailing list