diff options
author | Martin Persson <martin.persson@stericsson.com> | 2011-06-14 15:25:15 +0200 |
---|---|---|
committer | said m bagheri <ebgheri@steludxu2848.(none)> | 2011-06-29 10:30:26 +0200 |
commit | 43326d2c9a909cc43d887057d1793f0331f06c50 (patch) | |
tree | af8d1c1f7f89ed13f10a166a029bbc4e51cf917d /arch | |
parent | 276ab8fe1318cdb70a8e91667ffd5a73afd2b776 (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>
Diffstat (limited to 'arch')
-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 0c0c1dfd317..7fa17631796 100644 --- a/arch/arm/mach-ux500/pm/suspend.c +++ b/arch/arm/mach-ux500/pm/suspend.c @@ -186,7 +186,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; |