[PATCH v1] phy: avoid adjust_link call if link remains down
Sascha Hauer
s.hauer at pengutronix.de
Tue May 28 23:22:40 PDT 2024
On Wed, 29 May 2024 07:03:40 +0200, Oleksij Rempel wrote:
> Add a check in phy_update_status to skip calling adjust_link when the
> link status remains down. This prevents unnecessary adjust_link calls
> for PHYs that may change speed and duplex status bits before confirming
> link establishment. This issue was observed during debugging a switch
> driver, where a PHY took about 6 seconds to establish a link, causing
> multiple adjust_link calls.
>
> [...]
Applied, thanks!
[1/1] phy: avoid adjust_link call if link remains down
https://git.pengutronix.de/cgit/barebox/commit/?id=1851e95fcb68 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list