]> Git Repo - linux.git/commit
ACPI / EC: Fix unexpected ec_remove_handlers() invocations
authorLv Zheng <[email protected]>
Mon, 15 Dec 2014 00:47:52 +0000 (08:47 +0800)
committerRafael J. Wysocki <[email protected]>
Mon, 15 Dec 2014 14:10:23 +0000 (15:10 +0100)
commit1741acea75ea51ce709304a26baf72e1e99b8f3a
tree5edcf0bba4b240a152fbeb87057324f8dbaeabca
parentb2776bf7149bddd1f4161f14f79520f17fc1d71d
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 <[email protected]>
Signed-off-by: Lv Zheng <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
drivers/acpi/ec.c
This page took 0.057355 seconds and 4 git commands to generate.