projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1cca0eb
)
Make sure to re-enable SCI after an ACPI suspend
author
Linus Torvalds
<torvalds@g5.osdl.org>
Tue, 20 Jun 2006 01:05:09 +0000
(18:05 -0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Tue, 20 Jun 2006 01:05:09 +0000
(18:05 -0700)
According to the ACPI spec, it should be enabled on return from suspend,
but bugs happen. Apparently especially on the Apple Intel Macs.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/acpi/pci_link.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/acpi/pci_link.c
b/drivers/acpi/pci_link.c
index 07bc6dfe662b34aeb4c83d7476d6cee31c10c70a..8920e8c6e246dba49a30da6c2539dae11ec69316 100644
(file)
--- a/
drivers/acpi/pci_link.c
+++ b/
drivers/acpi/pci_link.c
@@
-812,6
+812,9
@@
static int irqrouter_resume(struct sys_device *dev)
ACPI_FUNCTION_TRACE("irqrouter_resume");
+ /* Make sure SCI is enabled again (Apple firmware bug?) */
+ acpi_set_register(ACPI_BITREG_SCI_ENABLE, 1, ACPI_MTX_DO_NOT_LOCK);
+
acpi_in_resume = 1;
list_for_each(node, &acpi_link.entries) {
link = list_entry(node, struct acpi_pci_link, node);