diff options
author | Alexandru Tachici <[email protected]> | 2022-11-15 13:44:34 +0200 |
---|---|---|
committer | Paolo Abeni <[email protected]> | 2022-11-17 10:38:37 +0100 |
commit | 809ff97a677ff85dfb7ce2b63be261d1633dcf29 (patch) | |
tree | 66fc351ac1deaa2f7420c23ecf594f2754798faf /drivers/net/mctp/mctp-i2c.c | |
parent | e103ba33998d0f25653cc8ebe745b68d1ee10cda (diff) |
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: 05b35e7eb9a1 ("smsc95xx: add phylib support")
Signed-off-by: Alexandru Tachici <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'drivers/net/mctp/mctp-i2c.c')
0 files changed, 0 insertions, 0 deletions