OSDN Git Service

net: phy: consider PHY_IGNORE_INTERRUPT in state machine PHY_NOLINK handling
authorHeiner Kallweit <hkallweit1@gmail.com>
Wed, 30 May 2018 20:13:20 +0000 (22:13 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 3 Jun 2018 12:50:10 +0000 (08:50 -0400)
commiteaf47b17a77fda841a1102d76c15161ee438b347
treef80e481d0371ed4bca8df4cdbe16ce8d55e4dd3f
parent4cb160d0a63bb16718fc25c52fe51fe416a1f09e
net: phy: consider PHY_IGNORE_INTERRUPT in state machine PHY_NOLINK handling

We can bail out immediately also in case of PHY_IGNORE_INTERRUPT because
phy_mac_interupt() informs us once the link is up.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy.c