All of lore.kernel.org
 help / color / mirror / Atom feed
From: Roger Quadros <ext-roger.quadros@nokia.com>
To: khilman@deeprootsystems.com
Cc: linux-omap@vger.kernel.org
Subject: [PATCH] OMAP3: PM: Fix OFF mode on HS/EMU Devices
Date: Tue, 21 Jul 2009 18:28:27 +0300	[thread overview]
Message-ID: <1248190107-21703-1-git-send-email-ext-roger.quadros@nokia.com> (raw)

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


             reply	other threads:[~2009-07-21 15:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-21 15:28 Roger Quadros [this message]
2009-07-21 16:20 ` [PATCH] OMAP3: PM: Fix OFF mode on HS/EMU Devices Kevin Hilman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1248190107-21703-1-git-send-email-ext-roger.quadros@nokia.com \
    --to=ext-roger.quadros@nokia.com \
    --cc=khilman@deeprootsystems.com \
    --cc=linux-omap@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.