diff options
author | Lv Zheng <lv.zheng@intel.com> | 2016-09-07 10:50:21 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-09-10 02:33:50 +0200 |
commit | 2a5708409e4e05446eb1a89ecb48641d6fd5d5a9 (patch) | |
tree | 9bdc01a1024724f61bb00e774284548921f24247 /drivers/acpi/scan.c | |
parent | ACPI / EC: Fix a memory leakage issue in acpi_ec_add() (diff) | |
download | linux-2a5708409e4e05446eb1a89ecb48641d6fd5d5a9.tar.xz linux-2a5708409e4e05446eb1a89ecb48641d6fd5d5a9.zip |
ACPI / EC: Fix a gap that ECDT EC cannot handle EC events
It is possible to register _Qxx from namespace and use the ECDT EC to
perform event handling. The reported bug reveals that Windows is using ECDT
in this way in case the namespace EC is not present. This patch facilitates
Linux to support ECDT in this way.
Link: https://bugzilla.kernel.org/show_bug.cgi?id=115021
Reported-and-tested-by: Luya Tshimbalanga <luya@fedoraproject.org>
Tested-by: Jonh Henderson <jw.hendy@gmail.com>
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/scan.c')
-rw-r--r-- | drivers/acpi/scan.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c index ad9fc84a8601..763c0da506bf 100644 --- a/drivers/acpi/scan.c +++ b/drivers/acpi/scan.c @@ -2044,6 +2044,7 @@ int __init acpi_scan_init(void) } acpi_update_all_gpes(); + acpi_ec_ecdt_start(); acpi_scan_initialized = true; |