]> rtime.felk.cvut.cz Git - lisovros/linux_canprio.git/commit
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)
commit9c2a51faab6de454407964987ad0cdb84edf2723
tree482fc8ddd5191057d968a0c8164c589e8d67a99c
parente5598a855b0e63b77b67c4ab708e09a23228d14f
ARM: CSR: PM: save/restore irq status in suspend cycle

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>
arch/arm/mach-prima2/irq.c