ENGR00118698 Fix FEC resume issue

FEC driver is stopped in suspend state. So FEC driver should restart
instead of initialization in resume state

Signed-off-by: Lily Zhang <r58066@freescale.com>
This commit is contained in:
Lily Zhang
2009-11-24 13:42:47 +08:00
committed by Matt Sealey
parent b5f8385ac7
commit f6939b6d05

View File

@@ -2035,7 +2035,7 @@ fec_resume(struct platform_device *dev)
if (ndev) {
if (netif_running(ndev)) {
fec_enet_init(ndev, 0);
fec_restart(ndev, 1);
netif_device_attach(ndev);
}
}