]> git.karo-electronics.de Git - linux-beck.git/commit
ACPI: enable ACPI SCI during suspend
authorZhang Rui <rui.zhang@intel.com>
Mon, 4 Feb 2013 07:10:10 +0000 (07:10 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sat, 9 Feb 2013 21:30:44 +0000 (22:30 +0100)
commit89a22dadb8810983868f5bbbc5530b27bf714a60
tree6098bc06d3b38b7358791529e510fa3917939780
parent7e73c5ae6e7991a6c01f6d096ff8afaef4458c36
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>
drivers/acpi/osl.c