From 252ebe1073832e4d09a81a90112a116a9c61beae Mon Sep 17 00:00:00 2001 From: Jarkko Nikula Date: Tue, 3 Apr 2007 15:38:26 +0300 Subject: [PATCH] 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. Signed-off-by: Jarkko Nikula Signed-off-by: Tony Lindgren --- arch/arm/mach-omap2/pm.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2/pm.c b/arch/arm/mach-omap2/pm.c index cb1ae461036..ef2c0673143 100644 --- a/arch/arm/mach-omap2/pm.c +++ b/arch/arm/mach-omap2/pm.c @@ -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) -- 2.41.1