git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ACPI Suspend: Enable ACPI during resume if SCI_EN is not set
[pandora-kernel.git]
/
drivers
/
acpi
/
sleep
/
main.c
diff --git
a/drivers/acpi/sleep/main.c
b/drivers/acpi/sleep/main.c
index
c7f0c9c
..
5419938
100644
(file)
--- a/
drivers/acpi/sleep/main.c
+++ b/
drivers/acpi/sleep/main.c
@@
-233,6
+233,8
@@
static int acpi_suspend_enter(suspend_state_t pm_state)
break;
}
+ /* If ACPI is not enabled by the BIOS, we need to enable it here. */
+ acpi_enable();
/* Reprogram control registers and execute _BFS */
acpi_leave_sleep_state_prep(acpi_state);