* [PATCH] ARM: OMAP: Activate MPU retention code in omap2/pm.c
@ 2007-04-03 12:38 Jarkko Nikula
2007-04-03 18:52 ` Tony Lindgren
0 siblings, 1 reply; 2+ messages in thread
From: Jarkko Nikula @ 2007-04-03 12:38 UTC (permalink / raw)
To: linux-omap-open-source
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 <jarkko.nikula@nokia.com>
---
arch/arm/mach-omap2/pm.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-omap2/pm.c b/arch/arm/mach-omap2/pm.c
index cb1ae46..ef2c067 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)
--
1.4.4.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ARM: OMAP: Activate MPU retention code in omap2/pm.c
2007-04-03 12:38 [PATCH] ARM: OMAP: Activate MPU retention code in omap2/pm.c Jarkko Nikula
@ 2007-04-03 18:52 ` Tony Lindgren
0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2007-04-03 18:52 UTC (permalink / raw)
To: Jarkko Nikula; +Cc: linux-omap-open-source
* Jarkko Nikula <jarkko.nikula@nokia.com> [070403 08:40]:
> 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 <jarkko.nikula@nokia.com>
> ---
> arch/arm/mach-omap2/pm.c | 3 +--
> 1 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/pm.c b/arch/arm/mach-omap2/pm.c
> index cb1ae46..ef2c067 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)
Pushing to omap-upstream.
Tony
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-04-03 18:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-03 12:38 [PATCH] ARM: OMAP: Activate MPU retention code in omap2/pm.c Jarkko Nikula
2007-04-03 18:52 ` Tony Lindgren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox