diff options
author | Lv Zheng <lv.zheng@intel.com> | 2013-06-08 09:01:01 +0800 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-06-20 01:31:57 +0200 |
commit | aa6329c44bccedbd8b17094c1c1aee1d9a9de461 (patch) | |
tree | 018174f92b7b5ce9823382349786e9f71aed5540 /drivers/acpi/acpica/nspredef.c | |
parent | 64f3af5fd1405b6856ef6eef555e72d7ea67ee14 (diff) | |
download | linux-aa6329c44bccedbd8b17094c1c1aee1d9a9de461.tar.gz linux-aa6329c44bccedbd8b17094c1c1aee1d9a9de461.tar.bz2 linux-aa6329c44bccedbd8b17094c1c1aee1d9a9de461.zip |
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>
Diffstat (limited to 'drivers/acpi/acpica/nspredef.c')
-rw-r--r-- | drivers/acpi/acpica/nspredef.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/acpi/acpica/nspredef.c b/drivers/acpi/acpica/nspredef.c index 600268d33aa8..8d59ac2399e0 100644 --- a/drivers/acpi/acpica/nspredef.c +++ b/drivers/acpi/acpica/nspredef.c @@ -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; + } } } |