Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 87315
b: refs/heads/master
c: c8d16e2
h: refs/heads/master
i:
  87313: b3b7924
  87311: 6acd607
v: v3
  • Loading branch information
Lin Ming authored and Len Brown committed Mar 11, 2008
1 parent a1fce66 commit 9755c38
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4af8e10a6c57e7292862bd1703712f0565c7e429
refs/heads/master: c8d16e27a3601d1cbcdfe657eb4ff5e762019e8d
6 changes: 5 additions & 1 deletion trunk/drivers/acpi/ec.c
Original file line number Diff line number Diff line change
Expand Up @@ -943,7 +943,11 @@ int __init acpi_ec_ecdt_probe(void)
boot_ec->command_addr = ecdt_ptr->control.address;
boot_ec->data_addr = ecdt_ptr->data.address;
boot_ec->gpe = ecdt_ptr->gpe;
boot_ec->handle = ACPI_ROOT_OBJECT;
if (ACPI_FAILURE(acpi_get_handle(NULL, ecdt_ptr->id,
&boot_ec->handle))) {
pr_info("Failed to locate handle for boot EC\n");
boot_ec->handle = ACPI_ROOT_OBJECT;
}
} else {
/* This workaround is needed only on some broken machines,
* which require early EC, but fail to provide ECDT */
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/acpi/utilities/utobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ acpi_ut_get_simple_object_size(union acpi_operand_object *internal_object,
* element -- which is legal)
*/
if (!internal_object) {
*obj_length = 0;
*obj_length = sizeof(union acpi_object);
return_ACPI_STATUS(AE_OK);
}

Expand Down

0 comments on commit 9755c38

Please sign in to comment.