ARM: CSR: PM: save/restore irq status in suspend cycle
authorBarry Song <baohua.song@csr.com>
Wed, 21 Sep 2011 13:40:33 +0000 (21:40 +0800)
committerBarry Song <21cnbao@gmail.com>
Wed, 21 Sep 2011 14:52:58 +0000 (22:52 +0800)
SiRFprimaII will lose power in deepsleep mode except rtc, pmu and sdram
self-refresh. So IRQ controller will lose status in suspend cyle.
This patch saves irq mask/level registers while suspending and restore
them while resuming.

Signed-off-by: Barry Song <baohua.song@csr.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>

No differences found