diff options
author | Martin Persson <martin.persson@stericsson.com> | 2011-06-14 15:25:15 +0200 |
---|---|---|
committer | Robert Marklund <robert.marklund@stericsson.com> | 2011-10-05 12:17:28 +0200 |
commit | 5e24d77148fcaca55864b508cd6019c807527557 (patch) | |
tree | 77c72bf2a2a702c03fedd8d8f344360746ccde02 | |
parent | 0a451475ad632b71c5882c6481b775610097853c (diff) |
ux500: suspend: ESRAM0 to RET instead of OFF
Put ESRAM0 in retention instead of off until
ROM has fixed their issues.
ST-Ericsson ID: 35110
ST-Ericsson Linux next: Not tested
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I7c8a65d59dc65f58c43e861373635181215e9871
Signed-off-by: Martin Persson <martin.persson@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/25065
Reviewed-by: Rickard ANDERSSON <rickard.andersson@stericsson.com>
Reviewed-by: QATEST
Tested-by: Mian Yousaf KAUKAB <mian.yousaf.kaukab@stericsson.com>
Reviewed-by: Yvan FILLION <yvan.fillion@stericsson.com>
-rw-r--r-- | arch/arm/mach-ux500/pm/suspend.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-ux500/pm/suspend.c b/arch/arm/mach-ux500/pm/suspend.c index 021ee8f53b5..46d1c69df21 100644 --- a/arch/arm/mach-ux500/pm/suspend.c +++ b/arch/arm/mach-ux500/pm/suspend.c @@ -184,7 +184,8 @@ static int ux500_suspend_valid(suspend_state_t state) static int ux500_suspend_prepare_late(void) { - (void)prcmu_config_esram0_deep_sleep(ESRAM0_DEEP_SLEEP_STATE_OFF); + /* ESRAM to retention instead of OFF until ROM is fixed */ + (void)prcmu_config_esram0_deep_sleep(ESRAM0_DEEP_SLEEP_STATE_RET); ab8500_regulator_debug_force(); return 0; |