Revert "ACPICA: ACPI 2.0, Hardware: Add access_width/bit_offset support for acpi_hw_w...
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 15 Jun 2016 00:16:13 +0000 (02:16 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 15 Jun 2016 00:16:13 +0000 (02:16 +0200)
commitda4e792550a856e2f66aa8183d408553f7513a86
tree3a0ed3ed07f5887015c1b152061194fcdfbd3ce4
parent7f9bef9debafcb767d00efb177d0f2edd4940eab
Revert "ACPICA: ACPI 2.0, Hardware: Add access_width/bit_offset support for acpi_hw_write()"

Revert commit 66b1ed5aa8dd "ACPICA: ACPI 2.0, Hardware: Add
access_width/bit_offset support for acpi_hw_write()" that is reported
to break suspend-to-RAM (ACPI S3) on one system.

The root cause of the failure is a wrong access width value for one of
the involved registers provided by the ACPI tables, but before commit
66b1ed5aa8dd that value was not taken into account at all and things
worked.

Fixes: 66b1ed5aa8dd "ACPICA: ACPI 2.0, Hardware: Add access_width/bit_offset support for acpi_hw_write()"
Reported-by: Andrey Skvortsov <andrej.skvortzov@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/hwregs.c