ACPI: enable GPEs before calling _WAK on resume
commit79d2dfaa4e787f94b7f65f4611bc7d1c8d85fabc
authorThomas Renninger <trenn@suse.de>
Fri, 24 Aug 2007 05:24:47 +0000 (24 01:24 -0400)
committerLen Brown <len.brown@intel.com>
Fri, 24 Aug 2007 05:24:47 +0000 (24 01:24 -0400)
tree99159e4136a05583defd654238d37fc63c91d7eb
parentb377fd3982ad957c796758a90e2988401a884241
ACPI: enable GPEs before calling _WAK on resume

It seems it's required to enable GPEs before _WAK.  E.g.  X60 triggers a
LID related GPE instead of doing a Notify in WAK.  Now the GPE reaches the
kernel and the Notify for LID status change gets thrown from there.

Signed-off-by: Thomas Renninger <trenn@suse.de>
Acked-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/hardware/hwsleep.c