]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ACPI: clear GPE earily in resume to avoid warning
authorShaohua Li <shaohua.li@intel.com>
Wed, 20 Jun 2007 01:17:58 +0000 (09:17 +0800)
committerLen Brown <len.brown@intel.com>
Fri, 1 Feb 2008 23:30:55 +0000 (18:30 -0500)
commita3627f67b1d5ddd8f65eedc2a76da90fbe062530
treee04a54df6697c27f58eb32a062e984d583eaf9b0
parentf4cb57007662a4ec3c2de3c027900223e0299bdd
ACPI: clear GPE earily in resume to avoid warning

Wakeup GPE hasn't a handler. If system is waked up by such GPE like a
USB hotplug, I saw a lot of error reporting the GPE hasn't handler.
acpi_leave_sleep_state will clear the GPE but it's too late, we should
do it before interrupt is re-enabled.

Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Acked-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/sleep/main.c