[PATCH] net: phy: Fix overlong PHY timeout

Joe Hershberger joe.hershberger at ni.com
Fri Mar 6 00:20:08 CET 2020


On Sat, Jan 4, 2020 at 3:56 AM Andre Przywara <andre.przywara at arm.com> wrote:
>
> Commit 27c3f70f3b50 ("net: phy: Increase link up delay in
> genphy_update_link()") increased the per-iteration waiting time from
> 1ms to 50ms, without adjusting the timeout counter. This lead to the
> timeout increasing from the typical 4 seconds to over three minutes.
>
> Adjust the timeout counter evaluation by that factor of 50 to bring the
> timeout back to the intended value.
>
> Signed-off-by: Andre Przywara <andre.przywara at arm.com>

Acked-by: Joe Hershberger <joe.hershberger at ni.com>


More information about the U-Boot mailing list