diff options
author | 2009-04-12 11:26:29 +0000 | |
---|---|---|
committer | 2009-04-23 23:56:57 -0400 | |
commit | 5aa63f038f042fd1acd6e720a95df72857db0bc7 (patch) | |
tree | 2c6e21ea2d24b6116e4fc8f16c2ad2b8ac378a24 /lib/dma-debug.c | |
parent | sony-laptop: SNC input event 38 fix (diff) | |
download | linux-rng-5aa63f038f042fd1acd6e720a95df72857db0bc7.tar.xz linux-rng-5aa63f038f042fd1acd6e720a95df72857db0bc7.zip |
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>
Diffstat (limited to 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions