ACPI / PMIC: xpower: Add support for the GPI1 regulator to the OpRegion handler
authorHans de Goede <hdegoede@redhat.com>
Sun, 14 May 2017 21:35:39 +0000 (23:35 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 22 Jun 2017 00:15:05 +0000 (02:15 +0200)
commit72ebe5a0b3505019d4e7592c0dd9281e0b9e44c7
treee065a00ab44809915e482d3dfefdbc468adfa209
parent41f1830f5a7af77cf5c86359aba3cbd706687e52
ACPI / PMIC: xpower: Add support for the GPI1 regulator to the OpRegion handler

Some Bay Trail devices use a GPI1 regulator field (address 0x4c) in
their 0x8d power OpRegion, add support for this.

This fixes AE_BAD_PARAMETER errors getting thrown on these devices and
fixes these errors causing these devices to not suspend.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/pmic/intel_pmic_xpower.c