diff mbox

[(sh-2.6.30.y),11/13] sh: intc: Fixed resume from hibernation in the intc

Message ID 1259938375-27499-11-git-send-email-francesco.virlinzi@st.com (mailing list archive)
State Not Applicable
Headers show

Commit Message

Francesco VIRLINZI Dec. 4, 2009, 2:52 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/sh/intc.c b/drivers/sh/intc.c
index 70c5d73..dc59427 100644
--- a/drivers/sh/intc.c
+++ b/drivers/sh/intc.c
@@ -774,6 +774,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)