Skip to content
Commit 3130497f authored by Li, Aubrey's avatar Li, Aubrey Committed by Rafael J. Wysocki
Browse files

ACPI / sleep: pm_power_off needs more sanity checks to be installed



Sleep control and status registers need santity checks as well before
ACPI installs acpi_power_off to pm_power_off hook. The checking code in
acpi_enter_sleep_state() is too late, we should not allow a not-working
pm_power_off function to be hooked up.

Signed-off-by: default avatarAubrey Li <aubrey.li@intel.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent cfbf8d48
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment