From: Marek BehĂșn Date: Wed, 6 Apr 2022 22:33:00 +0000 (+0200) Subject: net: phy: fix parsing wrong property X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=9c06b4815ce1d663085c214133762614bba79fbe;p=u-boot.git net: phy: fix parsing wrong property The "phy-interface-type" property should be "phy-connection-type". Signed-off-by: Marek BehĂșn Reviewed-by: Ramon Fried Reviewed-by: Vladimir Oltean --- 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);