diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2018-12-19 00:43:58 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-12-18 22:07:20 -0800 |
commit | 33f18c96afdf4da20014f834874e2820ee880cde (patch) | |
tree | 8b14ad4051bf1ec504e409103cf42286e853f3b3 /drivers/net/ethernet/ti | |
parent | 624b66f8c9945504232c253e64f7c28e5a5c04d6 (diff) | |
download | linux-33f18c96afdf4da20014f834874e2820ee880cde.tar.bz2 |
net: ethernet: don't set phylib state CHANGELINK in drivers
After phy_start() phylib takes care of all needed actions, including
aneg settings and checking link state. There's no need to set state
PHY_CHANGELINK in drivers.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ti')
-rw-r--r-- | drivers/net/ethernet/ti/cpmac.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/ti/cpmac.c b/drivers/net/ethernet/ti/cpmac.c index 9b8a30bf939b..810dfc7de1f9 100644 --- a/drivers/net/ethernet/ti/cpmac.c +++ b/drivers/net/ethernet/ti/cpmac.c @@ -991,7 +991,6 @@ static int cpmac_open(struct net_device *dev) cpmac_hw_start(dev); napi_enable(&priv->napi); - dev->phydev->state = PHY_CHANGELINK; phy_start(dev->phydev); return 0; |