]> git.baikalelectronics.ru Git - kernel.git/commitdiff
r8169: remove PHY resume delay that is handled in the PHY driver now
authorHeiner Kallweit <hkallweit1@gmail.com>
Sat, 18 Apr 2020 20:09:42 +0000 (22:09 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Apr 2020 18:12:29 +0000 (11:12 -0700)
The Realtek PHY driver takes care of adding the needed delay now,
therefore we can remove the delay here.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169_main.c

index a8696d958cd1e16fa839ea903a30d0b30821833e..1bc415d00cb840415c74d3c79d32b6507b0d5849 100644 (file)
@@ -2391,8 +2391,6 @@ static void rtl_pll_power_up(struct rtl8169_private *tp)
        }
 
        phy_resume(tp->phydev);
-       /* give MAC/PHY some time to resume */
-       msleep(20);
 }
 
 static void rtl_init_rxcfg(struct rtl8169_private *tp)