]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit858440b0ee80d4a07bc5a1baa863c7e5cf5ce8b0
tree277834250124938e4b003747895436af9bfd8750
parentea4e97da35847e09e433078b03694c6f7e5e8f8a
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