[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-sh
Subject: [patch 1/2] sh: Retrieve the wakeup flag from irq_data
From: Thomas Gleixner <tglx () linutronix ! de>
Date: 2011-03-25 13:56:04
Message-ID: 20110325135542.970002118 () linutronix ! de
[Download RAW message or body]
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
drivers/sh/intc/core.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
Index: linux-2.6-tip/drivers/sh/intc/core.c
===================================================================
--- linux-2.6-tip.orig/drivers/sh/intc/core.c
+++ linux-2.6-tip/drivers/sh/intc/core.c
@@ -427,13 +427,12 @@ static int intc_suspend(struct sys_devic
case PM_EVENT_SUSPEND:
/* enable wakeup irqs belonging to this intc controller */
for_each_active_irq(irq) {
- desc = irq_to_desc(irq);
data = irq_get_irq_data(irq);
chip = irq_data_get_irq_chip(data);
if (chip != &d->chip)
continue;
- if ((desc->status & IRQ_WAKEUP))
+ if (irqd_is_wakeup_set(data))
chip->irq_enable(data);
}
break;
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic