View | Details | Raw Unified | Return to bug 10100 | Differences between
and this patch

Collapse All | Expand All

(-)a/drivers/acpi/ec.c (-5 / +1 lines)
Lines 943-953 int __init acpi_ec_ecdt_probe(void) Link Here
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 */

Return to bug 10100