summaryrefslogtreecommitdiffstats
path: root/certs
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2016-01-18 19:33:06 -0800
committerDavid S. Miller <davem@davemloft.net>2016-01-21 10:48:51 -0800
commitd5c3d84657db57bd23ecd58b97f1c99dd42a7b80 (patch)
tree8cbbd5393b2772d57d4a102a132bf508d7104934 /certs
parentceb6560a4cf3a2667209e6869f4fb8f6da6ef55f (diff)
downloadop-kernel-dev-d5c3d84657db57bd23ecd58b97f1c99dd42a7b80.zip
op-kernel-dev-d5c3d84657db57bd23ecd58b97f1c99dd42a7b80.tar.gz
net: phy: Avoid polling PHY with PHY_IGNORE_INTERRUPTS
Commit 2c7b49212a86 ("phy: fix the use of PHY_IGNORE_INTERRUPT") changed a hunk in phy_state_machine() in the PHY_RUNNING case which was not needed. The change essentially makes the PHY library treat PHY devices with PHY_IGNORE_INTERRUPT to keep polling for the PHY device, even though the intent is not to do it. Fix this by reverting that specific hunk, which makes the PHY state machine wait for state changes, and stay in the PHY_RUNNING state for as long as needed. Fixes: 2c7b49212a86 ("phy: fix the use of PHY_IGNORE_INTERRUPT") Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud