Investigating an issue with the NXP LS1012A-FRWY board and the AR8031
PHY not negotiating, I found that the introduction of the

        node = phy_get_ofnode(phydev);
        if (!ofnode_valid(node))
                return -EINVAL;

pattern in PHY drivers causes silent breakage for users of phy_connect().

I've fixed this in the Atheros driver, and also saw the same issue in
the TI PHY driver, so I fixed it there as well.

Vladimir Oltean (2):
  net: phy: dp83867: avoid error in dp83867_of_init() when PHY has no OF
    node
  net: phy: atheros: avoid error in ar803x_of_init() when PHY has no OF
    node

 drivers/net/phy/atheros.c | 2 +-
 drivers/net/phy/dp83867.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

-- 
2.25.1

Reply via email to