Almer S. Tigelaar 5aa63f038f ACPI: EC: Fix ACPI EC resume non-query interrupt message
When resuming from standby (on a laptop) I see the following message in
my kernel.log:
"ACPI: EC: non-query interrupt received, switching to interrupt mode"
This apparently prevented sony-laptop to properly restore the brightness
level on resume.

The cause: In drivers/acpi/ec.c the acpi_ec_suspend function clears the
GPE mode bit, but this is not restored in acpi_ec_resume (the function
below it). The patch below fixes this by properly restoring the GPE_MODE
bit. Tested and confirmed to work.

Signed-off-by: Almer S. Tigelaar <almer@gnome.org>
Signed-off-by: Mattia Dongili <malattia@linux.it>
Acked-by: Alexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: Len Brown <len.brown@intel.com>
2009-04-23 23:56:57 -04:00
..
2009-04-17 10:50:27 -07:00
2009-04-21 13:41:48 -07:00
2009-04-21 13:41:51 -07:00
2009-04-13 15:04:29 -07:00
2009-04-17 10:50:27 -07:00
2009-04-17 10:50:27 -07:00
2009-04-05 00:32:25 +02:00
2009-04-01 08:59:23 -07:00
2009-04-21 13:41:50 -07:00
2009-04-14 19:46:19 -07:00
2009-04-21 13:41:51 -07:00
2009-04-21 13:41:49 -07:00
2009-04-05 00:32:22 +02:00
2009-04-08 14:25:51 -07:00