From 1d562c9e425d59b7c0dc45162b660b325c2d7b99 Mon Sep 17 00:00:00 2001 From: Kevin Hilman Date: Tue, 24 Jul 2007 15:36:51 -0700 Subject: [PATCH] ARM: OMAP: full-retention fix for 2430 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 Signed-off-by: Tony Lindgren --- arch/arm/mach-omap2/pm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/pm.c b/arch/arm/mach-omap2/pm.c index 974fdc56534..8e4b1f6f4af 100644 --- a/arch/arm/mach-omap2/pm.c +++ b/arch/arm/mach-omap2/pm.c @@ -346,7 +346,7 @@ static struct subsys_attribute sleep_while_idle_attr = { 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) { -- 2.41.0