diff options
author | Kevin Hilman <khilman@deeprootsystems.com> | 2009-04-23 23:11:08 -0400 |
---|---|---|
committer | paul <paul@twilight.(none)> | 2009-04-23 23:11:08 -0400 |
commit | 219c5b98d5eb86c75abc716087f494fe06c6b64e (patch) | |
tree | 7fd1d5c8a51972e53abad0ca59cfcef2f3f68726 /arch/arm/plat-omap/dmtimer.c | |
parent | 9198a40620fc69d577e854fb571e76af3313bc53 (diff) |
OMAP: dmtimer: enable all timers to be wakeup events
All GP timers on OMAP2/3 can generate wakeup events. The wakeup status is
cleared in the PRCM interrupt handler.
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/plat-omap/dmtimer.c')
-rw-r--r-- | arch/arm/plat-omap/dmtimer.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/arm/plat-omap/dmtimer.c b/arch/arm/plat-omap/dmtimer.c index c99d611242a9..a05205c12f7b 100644 --- a/arch/arm/plat-omap/dmtimer.c +++ b/arch/arm/plat-omap/dmtimer.c | |||
@@ -321,11 +321,9 @@ static void omap_dm_timer_reset(struct omap_dm_timer *timer) | |||
321 | l |= 0x2 << 8; /* Set clock activity to perserve f-clock on idle */ | 321 | l |= 0x2 << 8; /* Set clock activity to perserve f-clock on idle */ |
322 | 322 | ||
323 | /* | 323 | /* |
324 | * Enable wake-up only for GPT1 on OMAP2 CPUs. | 324 | * Enable wake-up on OMAP2 CPUs. |
325 | * FIXME: All timers should have wake-up enabled and clear | ||
326 | * PRCM status. | ||
327 | */ | 325 | */ |
328 | if (cpu_class_is_omap2() && (timer == &dm_timers[0])) | 326 | if (cpu_class_is_omap2()) |
329 | l |= 1 << 2; | 327 | l |= 1 << 2; |
330 | omap_dm_timer_write_reg(timer, OMAP_TIMER_OCP_CFG_REG, l); | 328 | omap_dm_timer_write_reg(timer, OMAP_TIMER_OCP_CFG_REG, l); |
331 | 329 | ||