diff options
author | Tomasz Nowicki <tomasz.nowicki@linaro.org> | 2013-06-07 21:00:23 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-06-15 19:05:45 -0400 |
commit | 64f3af5fd1405b6856ef6eef555e72d7ea67ee14 (patch) | |
tree | 2d0ff653d9fba3d25dae4f194dfa694bb21622c7 | |
parent | b739f106cb6385b83bac41e1f417c4e9347171a4 (diff) |
ACPICA: Clear events initialized flag upon event component termination
Clear this flag to allow clean startup and even double termination.
ACPICA BZ 1013. Tomasz Nowicki <tomasz.nowicki@linaro.org>
References: https://bugs.acpica.org/show_bug.cgi?id=1013
Signed-off-by: Tomasz Nowicki <tomasz.nowicki@linaro.org>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Reviewed-by: Len Brown <len.brown@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r-- | drivers/acpi/acpica/evmisc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/acpi/acpica/evmisc.c b/drivers/acpi/acpica/evmisc.c index db59fe3f6391..1b111ef74903 100644 --- a/drivers/acpi/acpica/evmisc.c +++ b/drivers/acpi/acpica/evmisc.c | |||
@@ -276,6 +276,8 @@ void acpi_ev_terminate(void) | |||
276 | ACPI_ERROR((AE_INFO, | 276 | ACPI_ERROR((AE_INFO, |
277 | "Could not remove Global Lock handler")); | 277 | "Could not remove Global Lock handler")); |
278 | } | 278 | } |
279 | |||
280 | acpi_gbl_events_initialized = FALSE; | ||
279 | } | 281 | } |
280 | 282 | ||
281 | /* Deallocate all handler objects installed within GPE info structs */ | 283 | /* Deallocate all handler objects installed within GPE info structs */ |