ACPICA: Namespace: Add String -> ObjectReference conversion support
authorLv Zheng <lv.zheng@intel.com>
Tue, 29 Dec 2015 05:58:02 +0000 (13:58 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 1 Jan 2016 02:47:36 +0000 (03:47 +0100)
commitee387409ca7d74d83a26915a367bf9b033e29803
tree4c70b5b8e074bcb45d4f81006684360cb79659dd
parent4debda539af12ebc55fc99102dca2861e5f325fd
ACPICA: Namespace: Add String -> ObjectReference conversion support

ACPICA commit 80e60d72959bb51c5d08c8500d978607a42ed81d

BIOS developers may accidently put the quotes around the name strings,
which converts the object references in the packages indicated by the name
strings into the data objects (strings). Such kind of error has been seen
in _DEP control methods on some platforms. This patch implements a
workaround to correct it. Reported by Bastien Nocera. Fixed by Lv Zheng.

Link: https://github.com/acpica/acpica/commit/80e60d72
Reference: https://bugzilla.kernel.org/show_bug.cgi?id=106231
Reported-and-tested-by: Bastien Nocera <bugzilla@hadess.net>
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>
drivers/acpi/acpica/acnamesp.h
drivers/acpi/acpica/nsconvert.c
drivers/acpi/acpica/nsrepair.c