net: phy: realtek: add delay to resume path of certain internal PHY's
authorHeiner Kallweit <hkallweit1@gmail.com>
Sat, 18 Apr 2020 20:08:51 +0000 (22:08 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Apr 2020 18:12:29 +0000 (11:12 -0700)
commitfee698d62b3b0621dba8b33454042a4fe82521f3
tree277834250124938e4b003747895436af9bfd8750
parent6d92797716003a462bd75bbda3740718ce54bcdd
net: phy: realtek: add delay to resume path of certain internal PHY's

Internal PHY's from RTL8168h up may not be instantly ready after calling
genphy_resume(). So far r8169 network driver adds the needed delay, but
better handle this in the PHY driver. The network driver may miss other
places where the PHY is resumed.

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/phy/realtek.c