From 5cd2a2cbd3d493521aa4b31959d61e70b55b12c5 Mon Sep 17 00:00:00 2001 From: Declan Snyder Date: Mon, 14 Jul 2025 11:24:28 -0500 Subject: [PATCH] drivers: phy_ksz8081: Fix latency from autonegotiation The sleep call does not seem necessary and might have been left in by mistake, removing it also removes a ton of latency from the system especially noticeable during boot. Signed-off-by: Declan Snyder --- drivers/ethernet/phy/phy_microchip_ksz8081.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/ethernet/phy/phy_microchip_ksz8081.c b/drivers/ethernet/phy/phy_microchip_ksz8081.c index f159a8ce6c56..08d33e7bad16 100644 --- a/drivers/ethernet/phy/phy_microchip_ksz8081.c +++ b/drivers/ethernet/phy/phy_microchip_ksz8081.c @@ -127,7 +127,6 @@ static int phy_mc_ksz8081_autonegotiate(const struct device *dev) */ return -ENETDOWN; } - k_msleep(100); ret = phy_mc_ksz8081_read(dev, MII_BMSR, &bmsr); if (ret) {