]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
net: phy: aquantia: Increase timeout for out of reset
authorYe Li <ye.li@nxp.com>
Wed, 15 Apr 2026 08:56:26 +0000 (16:56 +0800)
committerFabio Estevam <festevam@gmail.com>
Tue, 21 Apr 2026 23:49:39 +0000 (20:49 -0300)
Current timeout for PHY out of reset is 50ms which is too short.
Increase it to 2s to align with kernel.

Signed-off-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Alice Guo <alice.guo@nxp.com>
Acked-by: Tim Harvey <tharvey@gateworks.com>
drivers/net/phy/aquantia.c

index 10b87dfb8abaf23bce18329b78497b27fa0510b9..83da3e1cc7701301fcc510f5cb7fa4ce271c2abb 100644 (file)
@@ -400,7 +400,7 @@ int aquantia_config(struct phy_device *phydev)
        int interface = phydev->interface;
        u32 val, id, rstatus, fault;
        u32 reg_val1 = 0;
-       int num_retries = 5;
+       int num_retries = 200;
        int usx_an = 0;
 
        /*