ARM: OMAP: Remove loses_context variable from timer platform data
authorJon Hunter <jon-hunter@ti.com>
Tue, 5 Jun 2012 17:34:55 +0000 (12:34 -0500)
committerTony Lindgren <tony@atomide.com>
Thu, 14 Jun 2012 09:39:47 +0000 (02:39 -0700)
commit1c2d076b589225e51e022d85bb9f25dca26530f3
treede3e16c873c844a8529fe596aae9c8e2235282c3
parent67d2e760ae1909f3a3c444a063961e35a54b7bb0
ARM: OMAP: Remove loses_context variable from timer platform data

The platform data variable loses_context is used to determine if the timer may
lose its logic state during power transitions and so needs to be restored. This
information is also provided in the HWMOD device attributes for OMAP2+ devices
via the OMAP_TIMER_ALWON flag. When this flag is set the timer will not lose
context. So use the HWMOD device attributes to determine this.

For OMAP1 devices, loses_context is never set and so set the OMAP_TIMER_ALWON
flag for OMAP1 timers to ensure that code is equivalent.

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/mach-omap2/timer.c
arch/arm/plat-omap/dmtimer.c
arch/arm/plat-omap/include/plat/dmtimer.h
This page took 0.02608 seconds and 5 git commands to generate.