Skip to content
Commit 809ff97a authored by Alexandru Tachici's avatar Alexandru Tachici Committed by Paolo Abeni
Browse files

net: usb: smsc95xx: fix external PHY reset



An external PHY needs settling time after power up or reset.
In the bind() function an mdio bus is registered. If at this point
the external PHY is still initialising, no valid PHY ID will be
read and on phy_find_first() the bind() function will fail.

If an external PHY is present, wait the maximum time specified
in 802.3 45.2.7.1.1.

Fixes: 05b35e7e ("smsc95xx: add phylib support")
Signed-off-by: default avatarAlexandru Tachici <alexandru.tachici@analog.com>
Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20221115114434.9991-2-alexandru.tachici@analog.com


Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
parent e103ba33
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment