diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2018-12-19 00:43:58 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-12-19 07:07:20 +0100 |
commit | 33f18c96afdf4da20014f834874e2820ee880cde (patch) | |
tree | 8b14ad4051bf1ec504e409103cf42286e853f3b3 /drivers/net/ethernet/ti | |
parent | MAINTAINERS: Add a maintainer for Microsemi switches (diff) | |
download | linux-33f18c96afdf4da20014f834874e2820ee880cde.tar.xz linux-33f18c96afdf4da20014f834874e2820ee880cde.zip |
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; |