mirror of
https://github.com/genesi/linux-legacy.git
synced 2026-09-23 07:05:27 +00:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user