summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/Kconfig
diff options
context:
space:
mode:
authorLv Zheng <lv.zheng@intel.com>2016-09-07 16:50:27 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-09-10 02:33:50 +0200
commit97cb159fd91d00f8d7d1adeb075503dc0d946bff (patch)
tree75952cf8e88ada30839ccca69337b14ef8346b6d /drivers/acpi/Kconfig
parent2a5708409e4e05446eb1a89ecb48641d6fd5d5a9 (diff)
downloadop-kernel-dev-97cb159fd91d00f8d7d1adeb075503dc0d946bff.zip
op-kernel-dev-97cb159fd91d00f8d7d1adeb075503dc0d946bff.tar.gz
ACPI / EC: Fix issues related to boot_ec
There are issues related to the boot_ec: 1. If acpi_ec_remove() is invoked, boot_ec will also be freed, this is not expected as the boot_ec could be enumerated via ECDT. 2. Address space handler installation/unstallation lead to unexpected _REG evaluations. This patch adds acpi_is_boot_ec() check to be used to fix the above issues. However, since acpi_ec_remove() actually won't be invoked, this patch doesn't handle the reference counting of "struct acpi_ec", it only ensures the correctness of the boot_ec destruction during the boot. Link: https://bugzilla.kernel.org/show_bug.cgi?id=153511 Reported-and-tested-by: Jonh Henderson <jw.hendy@gmail.com> 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/Kconfig')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud