summaryrefslogtreecommitdiff
path: root/arch/arm/mach-ux500/pm/suspend.c
diff options
context:
space:
mode:
authorramesh.chandrasekaran <ramesh.chandrasekaran@stericsson.com>2012-05-23 14:14:00 +0200
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-05-25 08:35:13 +0200
commitaec28c223d49999c3dff7c668ba8b32c7fab3d1b (patch)
treea4375ddcf46772b5bd7f38f9774110d01cfa919f /arch/arm/mach-ux500/pm/suspend.c
parent91660ea903d5b4bfddb7e72df5539e5b054ec19d (diff)
pm: Fix for Ethernet doesn't work after suspend
Signed-off-by: ramesh.chandrasekaran <ramesh.chandrasekaran@stericsson.com>
Diffstat (limited to 'arch/arm/mach-ux500/pm/suspend.c')
-rw-r--r--arch/arm/mach-ux500/pm/suspend.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/pm/suspend.c b/arch/arm/mach-ux500/pm/suspend.c
index 8d3d4729dcd..9dd4d86a2f3 100644
--- a/arch/arm/mach-ux500/pm/suspend.c
+++ b/arch/arm/mach-ux500/pm/suspend.c
@@ -80,6 +80,8 @@ static int suspend(bool do_deepsleep)
context_vape_save();
+ context_fsmc_save();
+
if (pins_force) {
/*
* Save GPIO settings before applying power save
@@ -142,6 +144,8 @@ static int suspend(bool do_deepsleep)
context_vape_restore();
+ context_fsmc_restore();
+
/* If GPIO woke us up then save the pins that caused the wake up */
ux500_pm_gpio_save_wake_up_status();