]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI: Separate disabling of GPEs from _PTS
authorRafael J. Wysocki <rjw@sisk.pl>
Mon, 7 Jan 2008 23:06:16 +0000 (00:06 +0100)
committerLen Brown <len.brown@intel.com>
Fri, 1 Feb 2008 23:30:56 +0000 (18:30 -0500)
commitffaa8331747833eb830d4fa4eb635a0494e7a04f
treecf5b546db40f51c874041250128104cb4344331b
parentd7b05b70d73442b35f6731ebb0b98ee23bcb58dc
ACPI: Separate disabling of GPEs from _PTS

The preparation to enter an ACPI system sleep state is now tied to
the disabling of GPEs, but the GPEs should not be disabled before
suspending devices.  Since on ACPI 1.0x systems the _PTS global
control method should be executed before suspending devices, we
need to disable GPEs separately.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/hardware/hwsleep.c
drivers/acpi/sleep/main.c