diff options
author | Francesco VIRLINZI <francesco.virlinzi@st.com> | 2009-12-04 03:57:58 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-12-08 22:35:18 -0500 |
commit | 87a705dde49d0c482fa818f0923af59ed0954d5d (patch) | |
tree | 412bfb76135982dee94e790b459b5e853edbdeda /drivers/sh | |
parent | e717cc6c07f006be36e35189aacb28be4e30ad14 (diff) |
sh: intc: Fixed resume from hibernation
This patch fixes the resume from hibernation
in the intc sysdev device when it manages 'redirect' irq
Signed-off-by: Francesco Virlinzi <francesco.virlinzi@st.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/sh')
-rw-r--r-- | drivers/sh/intc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/sh/intc.c b/drivers/sh/intc.c index a7e5c2e9986c..88f5aaf62fdb 100644 --- a/drivers/sh/intc.c +++ b/drivers/sh/intc.c | |||
@@ -806,6 +806,8 @@ static int intc_suspend(struct sys_device *dev, pm_message_t state) | |||
806 | if (d->state.event != PM_EVENT_FREEZE) | 806 | if (d->state.event != PM_EVENT_FREEZE) |
807 | break; | 807 | break; |
808 | for_each_irq_desc(irq, desc) { | 808 | for_each_irq_desc(irq, desc) { |
809 | if (desc->handle_irq == intc_redirect_irq) | ||
810 | continue | ||
809 | if (desc->chip != &d->chip) | 811 | if (desc->chip != &d->chip) |
810 | continue; | 812 | continue; |
811 | if (desc->status & IRQ_DISABLED) | 813 | if (desc->status & IRQ_DISABLED) |