Skip to content

Commit

Permalink
Make sure to re-enable SCI after an ACPI suspend
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Linus Torvalds committed Jun 20, 2006
1 parent 1cca0eb commit 5603509
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/acpi/pci_link.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5603509

Please sign in to comment.