]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI / EC: Fix a gap that ECDT EC cannot handle EC events
authorLv Zheng <lv.zheng@intel.com>
Wed, 7 Sep 2016 08:50:21 +0000 (16:50 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sat, 10 Sep 2016 00:33:50 +0000 (02:33 +0200)
commitfbf0b73b7ebfb83a526241747ad48b2e769b77cd
tree9bdc01a1024724f61bb00e774284548921f24247
parent3fe6d9e16a5ec92d62392fca40916886996ebd6f
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>
drivers/acpi/ec.c
drivers/acpi/internal.h
drivers/acpi/scan.c