ARM: tegra: timer: Add idle and suspend support to timers
authorColin Cross <ccross@android.com>
Mon, 29 Nov 2010 00:26:19 +0000 (16:26 -0800)
committerColin Cross <ccross@android.com>
Thu, 10 Feb 2011 06:17:38 +0000 (22:17 -0800)
commit093617851c5fa0d1fdf5ce378f20691b7adb35e4
tree293fb17e41c96168bb5f2c7661fbcf81d7c3f00a
parent3c3895b4bf58d709ad4709480ceb2bb006741972
ARM: tegra: timer: Add idle and suspend support to timers

Implement read_persistent_clock by reading the Tegra RTC
registers that stay running during suspend.

Save and restore the timer configuration register in
suspend.

Signed-off-by: Colin Cross <ccross@android.com>
arch/arm/mach-tegra/timer.c