commit | 9c2a51faab6de454407964987ad0cdb84edf2723 | [log] [tgz] |
---|---|---|
author | Barry Song <baohua.song@csr.com> | Wed Sep 21 21:40:33 2011 +0800 |
committer | Barry Song <21cnbao@gmail.com> | Wed Sep 21 22:52:58 2011 +0800 |
tree | 482fc8ddd5191057d968a0c8164c589e8d67a99c | |
parent | e5598a855b0e63b77b67c4ab708e09a23228d14f [diff] |
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>