Skip to content

Commit

Permalink
sh: intc: Fixed resume from hibernation
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Francesco VIRLINZI authored and Paul Mundt committed Dec 9, 2009
1 parent e717cc6 commit 87a705d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/sh/intc.c
Original file line number Diff line number Diff line change
Expand Up @@ -806,6 +806,8 @@ static int intc_suspend(struct sys_device *dev, pm_message_t state)
if (d->state.event != PM_EVENT_FREEZE)
break;
for_each_irq_desc(irq, desc) {
if (desc->handle_irq == intc_redirect_irq)
continue
if (desc->chip != &d->chip)
continue;
if (desc->status & IRQ_DISABLED)
Expand Down

0 comments on commit 87a705d

Please sign in to comment.