summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2020-02-27 22:56:28 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2020-02-27 22:56:28 +0100
commit7247f0c24c17a46a9732a801e57b627fb6bbf294 (patch)
tree45f403ab779aba6bedf515f8610ad07f213add81 /virt
parenta2b691772acd5bcd8b64693e0fdbc3431d266db4 (diff)
downloadlinux-7247f0c24c17a46a9732a801e57b627fb6bbf294.tar.bz2
ACPI: EC: Drop AE_NOT_FOUND special case from ec_install_handlers()
If the status value returned by acpi_install_address_space_handler() in ec_install_handlers() is AE_NOT_FOUND, it is treated in a special way, apparently because it might mean a _REG method evaluation failure (at least that is the case according to the comment in there), but acpi_install_address_space_handler() does not take _REG evaluation errors into account at all, so the AE_NOT_FOUND special handling is confusing at best. For this reason, change ec_install_handlers() to stop the EC and return -ENODEV on all acpi_install_address_space_handler() errors. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions