diff options
author | Len Brown <len.brown@intel.com> | 2008-03-11 00:27:16 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-03-11 00:27:16 -0400 |
commit | 4af8e10a6c57e7292862bd1703712f0565c7e429 (patch) | |
tree | b4fad31c28e5da91d4caea3efa1580ee66fb75a8 /drivers/acpi | |
parent | 2f44bbb495dd3e6d0209eff2257438ab9c570e5b (diff) |
Revert "ACPI: EC: Use proper handle for boot EC"
This reverts commit 208c70a45624400fafd7511b96bc426bf01f8f5e.
http://bugzilla.kernel.org/show_bug.cgi?id=10100
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/ec.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c index caf873c14bf..7222a18a031 100644 --- a/drivers/acpi/ec.c +++ b/drivers/acpi/ec.c | |||
@@ -943,11 +943,7 @@ int __init acpi_ec_ecdt_probe(void) | |||
943 | boot_ec->command_addr = ecdt_ptr->control.address; | 943 | boot_ec->command_addr = ecdt_ptr->control.address; |
944 | boot_ec->data_addr = ecdt_ptr->data.address; | 944 | boot_ec->data_addr = ecdt_ptr->data.address; |
945 | boot_ec->gpe = ecdt_ptr->gpe; | 945 | boot_ec->gpe = ecdt_ptr->gpe; |
946 | if (ACPI_FAILURE(acpi_get_handle(NULL, ecdt_ptr->id, | 946 | boot_ec->handle = ACPI_ROOT_OBJECT; |
947 | &boot_ec->handle))) { | ||
948 | pr_info("Failed to locate handle for boot EC\n"); | ||
949 | boot_ec->handle = ACPI_ROOT_OBJECT; | ||
950 | } | ||
951 | } else { | 947 | } else { |
952 | /* This workaround is needed only on some broken machines, | 948 | /* This workaround is needed only on some broken machines, |
953 | * which require early EC, but fail to provide ECDT */ | 949 | * which require early EC, but fail to provide ECDT */ |