ARM: OMAP: Add flag to indicate if a timer needs a manual reset
authorJon Hunter <jon-hunter@ti.com>
Tue, 5 Jun 2012 17:34:57 +0000 (12:34 -0500)
committerTony Lindgren <tony@atomide.com>
Thu, 14 Jun 2012 09:39:47 +0000 (02:39 -0700)
commit6615975bc58a1234bd401a7ff231dae85631fd58
treeb914fe87fc136aba2b23c166b540b8cf973adfe0
parent0b30ec1cb7f1b0134b16670f886baaf3521b083c
ARM: OMAP: Add flag to indicate if a timer needs a manual reset

For OMAP1 devices, it is necessary to perform a manual reset of the timer.
Currently, this is indicating by setting the "needs_manual_reset" variable in
the platform data. Instead of using an extra variable to indicate this add a new
timer capabilities flag to indicate this and remove the "needs_manual_reset"
member from the platform data.

Signed-off-by: Jon Hunter <jon-hunter@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap1/timer.c
arch/arm/plat-omap/dmtimer.c
arch/arm/plat-omap/include/plat/dmtimer.h