summaryrefslogtreecommitdiff
path: root/include/linux/device/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2026-01-07 16:14:55 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2026-01-12 19:33:29 +0100
commit8f334e35220721f65180bc2e0fe9187436c2c475 (patch)
tree5829c5d20e96e327327bdb7b7124d395dbd5db21 /include/linux/device/git@git.tavy.me:linux.git
parent0f61b1860cc3f52aef9036d7235ed1f017632193 (diff)
ACPI: PM: s2idle: Add missing checks to acpi_s2idle_begin_lps0()
Commit 32ece31db4df ("ACPI: PM: s2idle: Only retrieve constraints when needed"), that attempted to avoid useless evaluation of LPS0 _DSM Function 1 in lps0_device_attach(), forgot to add checks for lps0_device_handle and sleep_no_lps0 to acpi_s2idle_begin_lps0() where they should be done before calling lpi_device_get_constraints() or lpi_device_get_constraints_amd(). Add the missing checks. Fixes: 32ece31db4df ("ACPI: PM: s2idle: Only retrieve constraints when needed") Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org> Link: https://patch.msgid.link/2818730.mvXUDI8C0e@rafael.j.wysocki
Diffstat (limited to 'include/linux/device/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions