summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFugang Duan <b38611@freescale.com>2015-10-15 17:38:29 +0800
committerFugang Duan <b38611@freescale.com>2015-10-19 13:10:35 +0800
commit92cb3c4fac922029c4fe759fba2a78becb137e7a (patch)
tree6a00895d5a33e047dbe032a31a0f51848c30184b
parent31a7eab5be9843263535306dbaa08592b66714e5 (diff)
MLK-11704 net: fec: fix MDIO read/write timeout when ethx down/up after suspend/resume
This reverts commit 12fee3d24574bd084e8b6fa1dcaf84a084298c9a. The commit:12fee3d24574 intruduce MDIO read/write timeout when Ethernet down and up after Mega/Fast off. The patch just revert the patch. Signed-off-by: Fugang Duan <B38611@freescale.com>
-rw-r--r--drivers/net/ethernet/freescale/fec_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/freescale/fec_main.c b/drivers/net/ethernet/freescale/fec_main.c
index 49f81ca781ee..d7ea954ac1b6 100644
--- a/drivers/net/ethernet/freescale/fec_main.c
+++ b/drivers/net/ethernet/freescale/fec_main.c
@@ -2900,6 +2900,7 @@ fec_enet_close(struct net_device *ndev)
}
phy_disconnect(fep->phy_dev);
+ fep->phy_dev = NULL;
fec_enet_clk_enable(ndev, false);
pm_qos_remove_request(&ndev->pm_qos_req);