Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 06d87cec authored by Florian Fainelli's avatar Florian Fainelli Committed by David S. Miller
Browse files

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: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f0528ce7
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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);