]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite06d149e51e168851dd2c4c260bf8afd7c0b76b3
tree7a9508fc800999401dc88af5be4610b85b0a73af
parent9511c665d5d6cca43319148be6b48f340eafbfe5
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