From ead80e80c41a4c1275543c3c7c2d22ff1c19717a Mon Sep 17 00:00:00 2001 From: Myy Date: Mon, 21 Aug 2017 06:22:15 +0000 Subject: [PATCH] net: stmmac: Reverting a part of "Use the right logging function" Turns out that the phy_attached_info call, added in commit fbca164776e438b639af592c522b8b0506b54dcc provokes a crash on boot with MiQi devices. Signed-off-by: Myy --- drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c index 72ec711f..889810f0 100644 --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c @@ -270,7 +270,7 @@ int stmmac_mdio_register(struct net_device *ndev) if (priv->plat->phy_addr == -1) priv->plat->phy_addr = addr; - phy_attached_info(phydev); + //phy_attached_info(phydev); found = 1; } -- 2.13.0