Skip to content

Commit

Permalink
ARM: OMAP1: Fix warnings about enabling 32 KiHz timer
Browse files Browse the repository at this point in the history
Fix "Enable 32kHz OS timer in order to allow sleep states in idle"
warning. We are now compiling in bothe MPU timer and 32 KiHz timer,
so this warning is only valid when MPU_TIMER is set and OMAP_DM_TIMER
is not set.

Signed-off-by: Tony Lindgren <tony@atomide.com>
  • Loading branch information
Tony Lindgren committed Nov 5, 2011
1 parent c16ae1e commit be26a00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-omap1/pm.c
Original file line number Diff line number Diff line change
@@ -116,7 +116,7 @@ void omap1_pm_idle(void)
return;
}

#ifdef CONFIG_OMAP_MPU_TIMER
#if defined(CONFIG_OMAP_MPU_TIMER) && !defined(CONFIG_OMAP_DM_TIMER)
#warning Enable 32kHz OS timer in order to allow sleep states in idle
use_idlect1 = use_idlect1 & ~(1 << 9);
#else

0 comments on commit be26a00

Please sign in to comment.