Skip to contentSkip to conversation

ARM: OMAP: Activate MPU retention code in omap2/pm.c

PATCH In review Jarkko Nikula 2 participants 2 messages Apr 3, 2007

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: OMAP: Activate MPU retention code in omap2/pm.c

FIXME section in function omap2_allow_mpu_retention didn't allow MPU to enter into retention even if system was idle. MPU retention works fine at least in Nokia N800.

---
 arch/arm/mach-omap2/pm.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
arch/arm/mach-omap2/pm.c +1 -2
index cb1ae46..ef2c067 100644
@@ -573,8 +573,7 @@ static int omap2_allow_mpu_retention(void)
 	if (sti_console_enabled)
 		return 0;
 
-	/* FIXME: Enable soon */
-	return 0;
+	return 1;
 }
 
 static void omap2_enter_mpu_retention(void)
Signature · 1 line
1.4.4.4
maintainer
#1 lore raw
Quoted 14 lines · Jarkko Nikula

FIXME section in function omap2_allow_mpu_retention didn't allow MPU to enter into retention even if system was idle. MPU retention works fine at least in Nokia N800.

---
 arch/arm/mach-omap2/pm.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
arch/arm/mach-omap2/pm.c +0 -0
index cb1ae46..ef2c067 100644

arch/arm/mach-omap2/pm.c static int omap2_allow_mpu_retention(void) · line 579

Quoted 9 lines
arch/arm/mach-omap2/pm.c +1 -2
@@ -573,8 +573,7 @@ static int omap2_allow_mpu_retention(void)
 	if (sti_console_enabled)
 		return 0;
 
-	/* FIXME: Enable soon */
-	return 0;
+	return 1;
 }
 
 static void omap2_enter_mpu_retention(void)

Pushing to omap-upstream.

Tony