commit | 79540d133ed6f65a37dacb54b7a704cc8a24c52d | [log] [tgz] |
---|---|---|
author | Codrin Ciubotariu <codrin.ciubotariu@microchip.com> | Tue Mar 31 12:39:35 2020 +0300 |
committer | David S. Miller <davem@davemloft.net> | Tue Mar 31 10:06:27 2020 -0700 |
tree | 10240b8d539319d2aaf1efd79bfb1a4d19c3ae91 | |
parent | f772148eb757b0823fbfdc2fe592d5e06c7f19b0 [diff] |
net: macb: Fix handling of fixed-link node fixed-link nodes are treated as PHY nodes by of_mdiobus_child_is_phy(). We must check if the interface is a fixed-link before looking up for PHY nodes. Fixes: 7897b071ac3b ("net: macb: convert to phylink") Tested-by: Cristian Birsan <cristian.birsan@microchip.com> Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com> Signed-off-by: David S. Miller <davem@davemloft.net>