]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: broadcom: Add power down exit reset state delay
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 11 Mar 2021 04:53:42 +0000 (20:53 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Mar 2021 02:25:19 +0000 (18:25 -0800)
commit24e243676230fe097385c0d8f88aba705ba60463
tree4e150071bc1745907e2be70deb557ff0080e73dc
parent1f363f977ae28c1bcebbf550bc711be050814baf
net: phy: broadcom: Add power down exit reset state delay

Per the datasheet, when we clear the power down bit, the PHY remains in
an internal reset state for 40us and then resume normal operation.
Account for that delay to avoid any issues in the future if
genphy_resume() changes.

Fixes: a104740334b7 ("net: phy: broadcom: Wire suspend/resume for BCM54810")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/broadcom.c