Commit 4af8e10a authored by Len Brown's avatar Len Brown

Revert "ACPI: EC: Use proper handle for boot EC"

This reverts commit 208c70a4.

http://bugzilla.kernel.org/show_bug.cgi?id=10100Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent 2f44bbb4
...@@ -943,11 +943,7 @@ int __init acpi_ec_ecdt_probe(void) ...@@ -943,11 +943,7 @@ int __init acpi_ec_ecdt_probe(void)
boot_ec->command_addr = ecdt_ptr->control.address; boot_ec->command_addr = ecdt_ptr->control.address;
boot_ec->data_addr = ecdt_ptr->data.address; boot_ec->data_addr = ecdt_ptr->data.address;
boot_ec->gpe = ecdt_ptr->gpe; boot_ec->gpe = ecdt_ptr->gpe;
if (ACPI_FAILURE(acpi_get_handle(NULL, ecdt_ptr->id, boot_ec->handle = ACPI_ROOT_OBJECT;
&boot_ec->handle))) {
pr_info("Failed to locate handle for boot EC\n");
boot_ec->handle = ACPI_ROOT_OBJECT;
}
} else { } else {
/* This workaround is needed only on some broken machines, /* This workaround is needed only on some broken machines,
* which require early EC, but fail to provide ECDT */ * which require early EC, but fail to provide ECDT */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment