ARM: CSR: PM: save/restore timer status in suspend cycle
authorBarry Song <baohua.song@csr.com>
Wed, 21 Sep 2011 12:56:33 +0000 (20:56 +0800)
committerBarry Song <21cnbao@gmail.com>
Wed, 21 Sep 2011 14:50:08 +0000 (22:50 +0800)
commite5598a855b0e63b77b67c4ab708e09a23228d14f
treef63f90eec4406b98990dedef4d86c8eac834ae37
parent684f741446f7a3108b4c167faf20214c42b7eeac
ARM: CSR: PM: save/restore timer status in suspend cycle

SiRFprimaII will lose power in deepsleep mode except rtc, pmu and sdram
self-refresh.
This patch saves timer-related registers while suspending and restore
them while resuming.

Signed-off-by: Barry Song <baohua.song@csr.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-prima2/timer.c