public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: OMAP: full-retention fix for 2430
@ 2007-07-24 22:36 Kevin Hilman
  2007-08-10 10:08 ` Tony Lindgren
  0 siblings, 1 reply; 2+ messages in thread
From: Kevin Hilman @ 2007-07-24 22:36 UTC (permalink / raw)
  To: linux-omap-open-source

This fixes a bug where the 2430 crashes upon entering full-retention 
due to a register difference between 2420 and 2430.

Signed-off-by: Kevin Hilman <khilman@mvista.com>

---
 arch/arm/mach-omap2/pm.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: dev/arch/arm/mach-omap2/pm.c
===================================================================
--- dev.orig/arch/arm/mach-omap2/pm.c
+++ dev/arch/arm/mach-omap2/pm.c
@@ -346,7 +346,7 @@ static struct subsys_attribute sleep_whi
 
 static struct clk *osc_ck, *emul_ck;
 
-#define CONTROL_DEVCONF		__REG32(0x48000274)
+#define CONTROL_DEVCONF		__REG32(OMAP2_CTRL_BASE + 0x274)
 
 static int omap2_fclks_active(void)
 {
--

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARM: OMAP: full-retention fix for 2430
  2007-07-24 22:36 [PATCH] ARM: OMAP: full-retention fix for 2430 Kevin Hilman
@ 2007-08-10 10:08 ` Tony Lindgren
  0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2007-08-10 10:08 UTC (permalink / raw)
  To: Kevin Hilman; +Cc: linux-omap-open-source

* Kevin Hilman <khilman@mvista.com> [070724 15:38]:
> This fixes a bug where the 2430 crashes upon entering full-retention 
> due to a register difference between 2420 and 2430.
> 
> Signed-off-by: Kevin Hilman <khilman@mvista.com>
> 
> ---
>  arch/arm/mach-omap2/pm.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> Index: dev/arch/arm/mach-omap2/pm.c
> ===================================================================
> --- dev.orig/arch/arm/mach-omap2/pm.c
> +++ dev/arch/arm/mach-omap2/pm.c
> @@ -346,7 +346,7 @@ static struct subsys_attribute sleep_whi
>  
>  static struct clk *osc_ck, *emul_ck;
>  
> -#define CONTROL_DEVCONF		__REG32(0x48000274)
> +#define CONTROL_DEVCONF		__REG32(OMAP2_CTRL_BASE + 0x274)
>  
>  static int omap2_fclks_active(void)
>  {

Pushing today.

Tony

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-08-10 10:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-24 22:36 [PATCH] ARM: OMAP: full-retention fix for 2430 Kevin Hilman
2007-08-10 10:08 ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox