Skip to content
Snippets Groups Projects
Commit 5aa63f03 authored by Almer S. Tigelaar's avatar Almer S. Tigelaar Committed by Len Brown
Browse files

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: default avatarAlmer S. Tigelaar <almer@gnome.org>
Signed-off-by: default avatarMattia Dongili <malattia@linux.it>
Acked-by: default avatarAlexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent a83021a2
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment