Re: [net v2 1/1] net: usb: smsc95xx: fix external PHY reset

From: Andrew Lunn
Date: Wed Nov 16 2022 - 08:46:45 EST


On Tue, Nov 15, 2022 at 01:44:34PM +0200, Alexandru Tachici wrote:
> 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 <alexandru.tachici@xxxxxxxxxx>

Thanks for making Russell suggested change.

Reviewed-by: Andrew Lunn <andrew@xxxxxxx>

Andrew