ACPICA: Move _PRT repair into the standard complex repair module

Moved this longstanding repair to the relatively new predefined
name repair module. ACPICA BZ 783. Lv Zheng.

No functional change.  This change simply moves the repair code from
where it was originally implemented to the (more recent) repair
module where it now belongs.

References: https://bugs.acpica.org/show_bug.cgi?id=783
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
Lv Zheng
2013-06-08 09:01:01 +08:00
gecommit door Rafael J. Wysocki
bovenliggende 64f3af5fd1
commit aa6329c44b
4 gewijzigde bestanden met toevoegingen van 99 en 54 verwijderingen

Bestand weergeven

@@ -158,7 +158,12 @@ acpi_ns_check_return_value(struct acpi_namespace_node *node,
info->parent_package = *return_object_ptr;
status = acpi_ns_check_package(info, return_object_ptr);
if (ACPI_FAILURE(status)) {
goto exit;
/* We might be able to fix an operand type error (_PRT) */
if (status != AE_AML_OPERAND_TYPE) {
goto exit;
}
}
}