Skip to content

Commit 89a22da

Browse files
zhang-ruirafaeljw
authored andcommitted
ACPI: enable ACPI SCI during suspend
Enable ACPI SCI during suspend so that SCI can be used as wake events for PM_SUSPEND_FREEZE. For S3/S4 transition, We disable all GPEs in suspend_ops->prepare_late() to fix a problem that GPEs may trigger SCI before arch_suspend_disable_irqs() is run. So it is safe to leave the SCI enabled until arch_suspend_irq_disable() is run. Signed-off-by: Zhang Rui <rui.zhang@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent 7e73c5a commit 89a22da

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/acpi/osl.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -787,7 +787,7 @@ acpi_os_install_interrupt_handler(u32 gsi, acpi_osd_handler handler,
787787

788788
acpi_irq_handler = handler;
789789
acpi_irq_context = context;
790-
if (request_irq(irq, acpi_irq, IRQF_SHARED, "acpi", acpi_irq)) {
790+
if (request_irq(irq, acpi_irq, IRQF_SHARED | IRQF_NO_SUSPEND, "acpi", acpi_irq)) {
791791
printk(KERN_ERR PREFIX "SCI (IRQ%d) allocation failed\n", irq);
792792
acpi_irq_handler = NULL;
793793
return AE_NOT_ACQUIRED;

0 commit comments

Comments
 (0)