genirq: Move wakeup state to irq_data
Some irq_chips need to know the state of wakeup mode for setting the trigger type etc. Reflect it in irq_data state. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
@@ -69,7 +69,7 @@ int check_wakeup_irqs(void)
|
||||
int irq;
|
||||
|
||||
for_each_irq_desc(irq, desc)
|
||||
if ((desc->istate & IRQS_WAKEUP) &&
|
||||
if (irqd_is_wakeup_set(&desc->irq_data) &&
|
||||
(desc->istate & IRQS_PENDING))
|
||||
return -EBUSY;
|
||||
|
||||
|
Reference in New Issue
Block a user