ACPICA: Fix to allow region arguments to reference other scopes
[linux-flexiantxendom0.git] / drivers / acpi / acpica / dsargs.c
index 42163d8..d69e4a5 100644 (file)
@@ -384,7 +384,7 @@ acpi_status acpi_ds_get_region_arguments(union acpi_operand_object *obj_desc)
 
        /* Execute the argument AML */
 
-       status = acpi_ds_execute_arguments(node, node->parent,
+       status = acpi_ds_execute_arguments(node, extra_desc->extra.scope_node,
                                           extra_desc->extra.aml_length,
                                           extra_desc->extra.aml_start);
        if (ACPI_FAILURE(status)) {