diff options
author | Oliver Neukum <oneukum@suse.de> | 2014-01-10 10:51:53 +0100 |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2014-05-05 14:21:49 +0200 |
commit | 43c5512d313281d04a91531aa205fac9aa2995a2 (patch) | |
tree | e3c12d0f34de558aa9d850c39ef6a287573beecd | |
parent | 1e37176ee50aba87e7c4a31bcd588d04706fea03 (diff) |
ACPI / sleep: remove panic in case hardware has changed after S4
commit 5c551e624abba6782034edd5b9eb58ac6f146b38 upstream.
Some BIOSes change hardware based on the state of
a laptop's lid. If the lid is closed, the touchpad is
disabled and the checksum changes. Windows 8 no longer
aborts resume if the checksum has changed.
Signed-off-by: Oliver Neukum <oneukum@suse.de>
[rjw: Use pr_crit() for the message and don't break the string]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
-rw-r--r-- | drivers/acpi/sleep.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/acpi/sleep.c b/drivers/acpi/sleep.c index 99e5158456d..c09e6f646fe 100644 --- a/drivers/acpi/sleep.c +++ b/drivers/acpi/sleep.c @@ -675,11 +675,8 @@ static void acpi_hibernation_leave(void) /* Reprogram control registers */ acpi_leave_sleep_state_prep(ACPI_STATE_S4); /* Check the hardware signature */ - if (facs && s4_hardware_signature != facs->hardware_signature) { - printk(KERN_EMERG "ACPI: Hardware changed while hibernated, " - "cannot resume!\n"); - panic("ACPI S4 hardware signature mismatch"); - } + if (facs && s4_hardware_signature != facs->hardware_signature) + pr_crit("ACPI: Hardware changed while hibernated, success doubtful!\n"); /* Restore the NVS memory area */ suspend_nvs_restore(); /* Allow EC transactions to happen. */ |