aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/sleep.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-07-13 20:51:13 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-07-15 20:04:19 +0200
commit1a2dcab517cbf8f58ebf1e12aea253f5df9cff80 (patch)
treedcb8999ce3fbc981ee921353118e53d17a5927b7 /drivers/acpi/sleep.c
parent403dbe3a5383d1e1bbcbe03d9fa6df0216e26102 (diff)
downloadlinux-1a2dcab517cbf8f58ebf1e12aea253f5df9cff80.tar.gz
ACPI: PM: s2idle: Use LPS0 idle if ACPI_FADT_LOW_POWER_S0 is unset
If the PNP0D80 device is present and its _DSM appears to be valid, there is no reason to avoid using it even if ACPI_FADT_LOW_POWER_S0 is unset in the FADT, because suspend-to-idle may be the only way to suspend the system if S3 is not supported by the platform, so do not return early from lps0_device_attach() in that case. However, still check ACPI_FADT_LOW_POWER_S0 when deciding whether or not suspend-to-idle should be the default system suspend method. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Diffstat (limited to 'drivers/acpi/sleep.c')
0 files changed, 0 insertions, 0 deletions