]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/acpi/sleep.c
ACPI: PM: s2idle: Check fixed wakeup events in acpi_s2idle_wake()
[linux.git] / drivers / acpi / sleep.c
index 152f7fc0b2003f1fcfc89105a7547df358e51ee9..e5f95922bc217e42342cce186bf0968c7e7f31dd 100644 (file)
@@ -1005,6 +1005,13 @@ static bool acpi_s2idle_wake(void)
                if (irqd_is_wakeup_armed(irq_get_irq_data(acpi_sci_irq)))
                        return true;
 
+               /*
+                * If the status bit of any enabled fixed event is set, the
+                * wakeup is regarded as valid.
+                */
+               if (acpi_any_fixed_event_status_set())
+                       return true;
+
                /*
                 * If there are no EC events to process and at least one of the
                 * other enabled GPEs is active, the wakeup is regarded as a