summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Fainelli2013-12-06 22:01:33 +0100
committerDavid S. Miller2013-12-10 02:38:59 +0100
commit06d87cec73d883690f690e72da498e7f0334f9bc (patch)
tree5d7e6834f627a6fa7b01f9a895c4718d8f8d44dc
parentnet: greth: use phy_read_status() (diff)
downloadkernel-qcow2-linux-06d87cec73d883690f690e72da498e7f0334f9bc.tar.gz
kernel-qcow2-linux-06d87cec73d883690f690e72da498e7f0334f9bc.tar.xz
kernel-qcow2-linux-06d87cec73d883690f690e72da498e7f0334f9bc.zip
net: bfin_mac: do not reset PHY after phy_start()
The PHY is already reset during driver probing, and this manual reset after calling phy_start() will wipe out board-specific PHY fixups and driver specific configuration initialization. Remove that explicit PHY reset. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/ethernet/adi/bfin_mac.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/adi/bfin_mac.c b/drivers/net/ethernet/adi/bfin_mac.c
index 0d4f29579879..c0f68dcd1dc1 100644
--- a/drivers/net/ethernet/adi/bfin_mac.c
+++ b/drivers/net/ethernet/adi/bfin_mac.c
@@ -1557,7 +1557,6 @@ static int bfin_mac_open(struct net_device *dev)
return ret;
phy_start(lp->phydev);
- phy_write(lp->phydev, MII_BMCR, BMCR_RESET);
setup_system_regs(dev);
setup_mac_addr(dev->dev_addr);