diff mbox series

[net-next,2/2] r8169: remove PHY resume delay that is handled in the PHY driver now

Message ID 84800b8b-8f38-5288-5845-6fb5e940a072@gmail.com
State New
Headers show
Series net: phy: realtek: move PHY resume delay from MAC to PHY driver | expand

Commit Message

Heiner Kallweit April 18, 2020, 8:09 p.m. UTC
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>
---
 drivers/net/ethernet/realtek/r8169_main.c | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

diff --git a/drivers/net/ethernet/realtek/r8169_main.c b/drivers/net/ethernet/realtek/r8169_main.c
index bf5bf0597..cac56bd67 100644
--- a/drivers/net/ethernet/realtek/r8169_main.c
+++ b/drivers/net/ethernet/realtek/r8169_main.c
@@ -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)