mirror of
https://github.com/armbian/linux.git
synced 2026-01-06 10:13:00 -08:00
Revert "genirq: Do not consider disabled wakeup irqs"
This reverts commit 9c6079aa1b.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user