Revert "genirq: Do not consider disabled wakeup irqs"
This reverts commit 9c6079aa1b.
This commit is contained in:
parent
8608d7c441
commit
196fc8d2bd
1 changed files with 1 additions and 6 deletions
|
|
@ -103,13 +103,8 @@ int check_wakeup_irqs(void)
|
|||
int irq;
|
||||
|
||||
for_each_irq_desc(irq, desc) {
|
||||
/*
|
||||
* Only interrupts which are marked as wakeup source
|
||||
* and have not been disabled before the suspend check
|
||||
* can abort suspend.
|
||||
*/
|
||||
if (irqd_is_wakeup_set(&desc->irq_data)) {
|
||||
if (desc->depth == 1 && desc->istate & IRQS_PENDING)
|
||||
if (desc->istate & IRQS_PENDING)
|
||||
return -EBUSY;
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue