From: Florian Fainelli Date: Fri, 6 Dec 2013 21:01:33 +0000 (-0800) Subject: net: bfin_mac: do not reset PHY after phy_start() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=06d87cec73d883690f690e72da498e7f0334f9bc;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: David S. Miller --- 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);