diff options
author | 2014-12-15 08:47:52 +0800 | |
---|---|---|
committer | 2014-12-15 15:10:23 +0100 | |
commit | 1741acea75ea51ce709304a26baf72e1e99b8f3a (patch) | |
tree | 5edcf0bba4b240a152fbeb87057324f8dbaeabca /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | Linux 3.18 (diff) | |
download | wireguard-linux-1741acea75ea51ce709304a26baf72e1e99b8f3a.tar.xz wireguard-linux-1741acea75ea51ce709304a26baf72e1e99b8f3a.zip |
ACPI / EC: Fix unexpected ec_remove_handlers() invocations
The ec_remove_handlers() is invoked without checking
EC_FLAGS_HANDLERS_INSTALLED, this patch enhances this check to avoid issues
that acpi_disable_gpe() is invoked unexpectedly to reduce the GPE runtime
count. This may happen when the EC handler installation failed on some
platforms.
Reported-by: Venkat Raghavulu <venkat.raghavulu@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions