ACPICA: Fix for a Store->ArgX when ArgX contains a reference to a field.
authorBob Moore <robert.moore@intel.com>
Fri, 6 Sep 2013 06:27:15 +0000 (14:27 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 6 Sep 2013 13:39:59 +0000 (15:39 +0200)
commit4be4be8fee2ee99a52f94f90d03d2f287ee1db86
tree7a9508fc800999401dc88af5be4610b85b0a73af
parenta9238741987386bb549d61572973c7e62b2a4145
ACPICA: Fix for a Store->ArgX when ArgX contains a reference to a field.

This change fixes a problem where a Store operation to an ArgX object
that contained a reference to a field object did not complete the
automatic dereference and then write to the actual field object.
Instead, the object type of the field object was inadvertently changed
to match the type of the source operand. The new behavior will actually
write to the field object (buffer field or field unit), thus matching
the correct ACPI-defined behavior.

Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/exstore.c