Skip to content

Commit

Permalink
net: bfin_mac: do not reset PHY after phy_start()
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
ffainelli authored and davem330 committed Dec 10, 2013
1 parent f0528ce commit 06d87ce
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/net/ethernet/adi/bfin_mac.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 06d87ce

Please sign in to comment.