Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 5606
b: refs/heads/master
c: ecc21eb
h: refs/heads/master
v: v3
  • Loading branch information
David Shaohua Li authored and Len Brown committed Aug 3, 2005
1 parent 59dfc25 commit 64bf5fb
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3d35600a9de8e2816d0e3726f64b7271af6fdda4
refs/heads/master: ecc21ebe603af31f172c43b8b261df79040790ef
11 changes: 11 additions & 0 deletions trunk/drivers/acpi/pci_link.c
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,18 @@ acpi_pci_link_free_irq(acpi_handle handle)
return_VALUE(-1);
}

#ifdef FUTURE_USE
/*
* The Link reference count allows us to _DISable an unused link
* and suspend time, and set it again on resume.
* However, 2.6.12 still has irq_router.resume
* which blindly restores the link state.
* So we disable the reference count method
* to prevent duplicate acpi_pci_link_set()
* which would harm some systems
*/
link->refcnt --;
#endif
ACPI_DEBUG_PRINT((ACPI_DB_INFO,
"Link %s is dereferenced\n", acpi_device_bid(link->device)));

Expand Down

0 comments on commit 64bf5fb

Please sign in to comment.