From: Li, Aubrey Date: Sun, 2 Mar 2014 00:53:57 +0000 (+0800) Subject: ACPI / sleep: pm_power_off needs more sanity checks to be installed X-Git-Tag: v3.14-rc6~15^2~1^4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3130497f5bab;p=pandora-kernel.git 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: Aubrey Li Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed