ACPI / PM: Default to s2idle in all machines supporting LP S0
authorTristian Celestin <tristiancelestin@fastmail.com>
Fri, 15 Jun 2018 08:50:18 +0000 (04:50 -0400)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 4 Jul 2018 09:50:13 +0000 (11:50 +0200)
commit6f9db69ad93cd6ab77d5571cf748ff7cdcfb0285
treea1e523e9289ff5f76346898085bd4ecfe422c6f6
parent021c91791a5e7e85c567452f1be3e4c2c6cb6063
ACPI / PM: Default to s2idle in all machines supporting LP S0

The Dell Venue Pro 7140 supports the Low Power S0 Idle state, but
does not support any of the _DSM functions that the current heuristic
checks for.

Since suspend-to-mem can not be safely performed on this machine,
and since the bitfield check can't cover this case, it is safer
to enable s2idle by default by checking for the presence of the
_DSM alone and removing the bitfield check.

Signed-off-by: Tristian Celestin <tristiancelestin@fastmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/sleep.c