Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 177483
b: refs/heads/master
c: 43420bb
h: refs/heads/master
i:
  177481: 9372521
  177479: 6c69281
v: v3
  • Loading branch information
Bob Moore authored and Len Brown committed Dec 15, 2009
1 parent f3d8c69 commit 1a7c07c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 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: 3a58176e4fa47d8232e04131b023f3f2ecd7084b
refs/heads/master: 43420bbb892268b5fc42cb80c3bc31dedbad3ac9
5 changes: 5 additions & 0 deletions trunk/drivers/acpi/acpica/nsrepair.c
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,11 @@ acpi_ns_convert_to_buffer(union acpi_operand_object *original_object,
break;

case ACPI_TYPE_PACKAGE:
/*
* This case is often seen for predefined names that must return a
* Buffer object with multiple DWORD integers within. For example,
* _FDE and _GTM. The Package can be converted to a Buffer.
*/

/* All elements of the Package must be integers */

Expand Down
11 changes: 5 additions & 6 deletions trunk/drivers/acpi/acpica/nsrepair2.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ acpi_ns_sort_list(union acpi_operand_object **elements,
* As necessary:
*
* _ALR: Sort the list ascending by ambient_illuminance
* _FDE: Convert a Package or Buffer of BYTEs to a Buffer of DWORDs
* _GTM: Convert a Package or Buffer of BYTEs to a Buffer of DWORDs
* _FDE: Convert Buffer of BYTEs to a Buffer of DWORDs
* _GTM: Convert Buffer of BYTEs to a Buffer of DWORDs
* _PSS: Sort the list descending by Power
* _TSS: Sort the list descending by Power
*/
Expand Down Expand Up @@ -238,10 +238,9 @@ acpi_ns_repair_ALR(struct acpi_predefined_data *data,
* RETURN: Status. AE_OK if object is OK or was repaired successfully
*
* DESCRIPTION: Repair for the _FDE and _GTM objects. The expected return
* value is a Buffer of 5 DWORDs. This function repairs two
* possible problems:
* 1) The return value is a Buffer of BYTEs, not DWORDs
* 2) The return value is a Package of Integer objects
* value is a Buffer of 5 DWORDs. This function repairs a common
* problem where the return value is a Buffer of BYTEs, not
* DWORDs.
*
*****************************************************************************/

Expand Down

0 comments on commit 1a7c07c

Please sign in to comment.