diff options
author | Alexey Starikovskiy <alexey.y.starikovskiy@linux.intel.com> | 2007-02-13 08:35:50 +0100 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-02-13 08:35:50 +0100 |
commit | f3ccb06f3b8e0cf42b579db21f3ca7f17fcc3f38 (patch) | |
tree | c68a65d8d3aab48cce945a0495970ea31308a113 /drivers | |
parent | ACPI: cleanup: make disable_acpi() valid w/o CONFIG_ACPI (diff) | |
download | linux-f3ccb06f3b8e0cf42b579db21f3ca7f17fcc3f38.tar.xz linux-f3ccb06f3b8e0cf42b579db21f3ca7f17fcc3f38.zip |
ACPI: Disable wake GPEs only once.
fixes Suspend/Resume regressions due to recent ACPICA update.
Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/acpi/events/evgpe.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/acpi/events/evgpe.c b/drivers/acpi/events/evgpe.c index dfac3ecc596e..635ba449ebc2 100644 --- a/drivers/acpi/events/evgpe.c +++ b/drivers/acpi/events/evgpe.c @@ -636,17 +636,6 @@ acpi_ev_gpe_dispatch(struct acpi_gpe_event_info *gpe_event_info, u32 gpe_number) } } - if (!acpi_gbl_system_awake_and_running) { - /* - * We just woke up because of a wake GPE. Disable any further GPEs - * until we are fully up and running (Only wake GPEs should be enabled - * at this time, but we just brute-force disable them all.) - * 1) We must disable this particular wake GPE so it won't fire again - * 2) We want to disable all wake GPEs, since we are now awake - */ - (void)acpi_hw_disable_all_gpes(); - } - /* * Dispatch the GPE to either an installed handler, or the control method * associated with this GPE (_Lxx or _Exx). If a handler exists, we invoke |