* [PATCH] OMAP3: PM: Fix OFF mode on HS/EMU Devices
@ 2009-07-21 15:28 Roger Quadros
2009-07-21 16:20 ` Kevin Hilman
0 siblings, 1 reply; 2+ messages in thread
From: Roger Quadros @ 2009-07-21 15:28 UTC (permalink / raw)
To: khilman; +Cc: linux-omap
Defer calling omap3_save_scratchpad_contents() to after
omap3_secure_ram_storage has been initialized. This fixes
lockup & reboot while entering CORE OFF mode on HS/EMU devices.
Signed-off-by: Roger Quadros <ext-roger.quadros@nokia.com>
---
arch/arm/mach-omap2/pm34xx.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c
index e80d59f..14f10bc 100644
--- a/arch/arm/mach-omap2/pm34xx.c
+++ b/arch/arm/mach-omap2/pm34xx.c
@@ -1101,7 +1101,6 @@ static int __init omap3_pm_init(void)
pm_idle = omap3_pm_idle;
- omap3_save_scratchpad_contents();
omap3_idle_init();
pwrdm_add_wkdep(neon_pwrdm, mpu_pwrdm);
@@ -1131,6 +1130,7 @@ static int __init omap3_pm_init(void)
local_fiq_enable();
}
+ omap3_save_scratchpad_contents();
err1:
return ret;
err2:
--
1.6.0.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] OMAP3: PM: Fix OFF mode on HS/EMU Devices
2009-07-21 15:28 [PATCH] OMAP3: PM: Fix OFF mode on HS/EMU Devices Roger Quadros
@ 2009-07-21 16:20 ` Kevin Hilman
0 siblings, 0 replies; 2+ messages in thread
From: Kevin Hilman @ 2009-07-21 16:20 UTC (permalink / raw)
To: Roger Quadros; +Cc: linux-omap
Roger Quadros <ext-roger.quadros@nokia.com> writes:
> Defer calling omap3_save_scratchpad_contents() to after
> omap3_secure_ram_storage has been initialized. This fixes
> lockup & reboot while entering CORE OFF mode on HS/EMU devices.
>
> Signed-off-by: Roger Quadros <ext-roger.quadros@nokia.com>
Thanks, pushed to PM branch, and pm-2.6.29.
Kevin
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-07-21 16:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-21 15:28 [PATCH] OMAP3: PM: Fix OFF mode on HS/EMU Devices Roger Quadros
2009-07-21 16:20 ` Kevin Hilman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox