]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI / LPSS: Avoid PM quirks on suspend and resume from S3
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 13 Jun 2018 11:17:26 +0000 (13:17 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 14 Jun 2018 07:57:56 +0000 (09:57 +0200)
commitded3f27bafdc2c6e1ed0edafe93eac53a7517b76
treee5ede692c136d09f0989d68b602fd860d27abb4c
parent3532f9d33a161761c62657eafd5d1cd18aab948b
ACPI / LPSS: Avoid PM quirks on suspend and resume from S3

It is reported that commit 68f45b35eebff (ACPI / LPSS: Consolidate
runtime PM and system sleep handling) introduced a system suspend
regression on some machines, but the only functional change made by
it was to cause the PM quirks in the LPSS to also be used during
system suspend and resume.  While that should always work for
suspend-to-idle, it turns out to be problematic for S3
(suspend-to-RAM).

To address that issue restore the previous S3 suspend and resume
behavior of the LPSS to avoid applying PM quirks then.

Fixes: 68f45b35eebff (ACPI / LPSS: Consolidate runtime PM and system sleep handling)
Link: https://bugs.launchpad.net/bugs/1774950
Reported-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Tested-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Cc: 4.15+ <stable@vger.kernel.org> # 4.15+
drivers/acpi/acpi_lpss.c