diff options
author | Lily Zhang <r58066@freescale.com> | 2009-11-24 13:42:47 +0800 |
---|---|---|
committer | Alejandro Gonzalez <alex.gonzalez@digi.com> | 2010-02-12 17:19:37 +0100 |
commit | 8be1b47ee279777370bcafe661191c360007cd20 (patch) | |
tree | dd919ad7821f473b8258b0dfa83f774f5c6117c3 /drivers/net/fec.c | |
parent | 6d599fd7da70808c902984d0d8745045482164bf (diff) |
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>
Diffstat (limited to 'drivers/net/fec.c')
-rw-r--r-- | drivers/net/fec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/fec.c b/drivers/net/fec.c index 6133f287910a..91d8e214d4a9 100644 --- a/drivers/net/fec.c +++ b/drivers/net/fec.c @@ -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); } } |