ARM: OMAP: Fix clockevent support for hrtimers
commit06cad098d28e02d2ee3ed587bb261377e4ae2f17
authorKevin Hilman <khilman@mvista.com>
Fri, 19 Oct 2007 06:04:43 +0000 (18 23:04 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 20 Mar 2008 14:56:09 +0000 (20 16:56 +0200)
tree3fcea2c58607af9dc5a6c5849f529b0b0df0d7b3
parent457fb605834504af294916411be128a9b21fc3f6
ARM: OMAP: Fix clockevent support for hrtimers

One-shot mode was broken in MPU-timer support for OMAP1 due to a typo.

Also, ensure timer is stopped before changing the auto-reload flag.
The TRM says changing the AR flag when timer is running is undefined.

Also set GENERIC_CLOCKEVENTS for all omaps.

Signed-off-by: Tim Bird <tim.bird@am.sony.com>
Signed-off-by: Kevin Hilman <khilman@mvista.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/Kconfig
arch/arm/mach-omap1/time.c
arch/arm/plat-omap/Kconfig