diff options
author | Marek BehĂșn <marek.behun@nic.cz> | 2022-04-07 01:33:00 +0300 |
---|---|---|
committer | Ramon Fried <ramon@neureality.ai> | 2022-04-10 08:44:12 +0300 |
commit | 9c06b4815ce1d663085c214133762614bba79fbe (patch) | |
tree | 1b83cb29801fef18dd5f586f77f11a0dde5eba55 /drivers/net/phy | |
parent | 1776a24bbbb9afe9cc2a52990c1cee8c48faa20f (diff) | |
download | u-boot-9c06b4815ce1d663085c214133762614bba79fbe.tar.xz |
net: phy: fix parsing wrong property
The "phy-interface-type" property should be "phy-connection-type".
Signed-off-by: Marek BehĂșn <marek.behun@nic.cz>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Diffstat (limited to 'drivers/net/phy')
-rw-r--r-- | drivers/net/phy/phy.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |