|
@@ -990,11 +990,40 @@ acpi_status acpi_ex_opcode_1A_0T_1R(struct acpi_walk_state *walk_state)
|
|
|
acpi_namespace_node
|
|
|
*)
|
|
|
return_desc);
|
|
|
- }
|
|
|
+ if (!return_desc) {
|
|
|
+ break;
|
|
|
+ }
|
|
|
+
|
|
|
+ /*
|
|
|
+ * June 2013:
|
|
|
+ * buffer_fields/field_units require additional resolution
|
|
|
+ */
|
|
|
+ switch (return_desc->common.type) {
|
|
|
+ case ACPI_TYPE_BUFFER_FIELD:
|
|
|
+ case ACPI_TYPE_LOCAL_REGION_FIELD:
|
|
|
+ case ACPI_TYPE_LOCAL_BANK_FIELD:
|
|
|
+ case ACPI_TYPE_LOCAL_INDEX_FIELD:
|
|
|
+
|
|
|
+ status =
|
|
|
+ acpi_ex_read_data_from_field
|
|
|
+ (walk_state, return_desc,
|
|
|
+ &temp_desc);
|
|
|
+ if (ACPI_FAILURE(status)) {
|
|
|
+ goto cleanup;
|
|
|
+ }
|
|
|
|
|
|
- /* Add another reference to the object! */
|
|
|
+ return_desc = temp_desc;
|
|
|
+ break;
|
|
|
|
|
|
- acpi_ut_add_reference(return_desc);
|
|
|
+ default:
|
|
|
+
|
|
|
+ /* Add another reference to the object */
|
|
|
+
|
|
|
+ acpi_ut_add_reference
|
|
|
+ (return_desc);
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
break;
|
|
|
|
|
|
default:
|