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)
commit3c1d2b6085d75df0691cec6a4a053c0aa55fe4c9
treecf5b546db40f51c874041250128104cb4344331b
parentc95d47a868f35cd47643d116a3c680cdaa954df8
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