projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4620a06
)
Revert "ACPI / hotplug / PCI: Runtime resume bridge before rescan"
author
Linus Torvalds
<
[email protected]
>
Thu, 4 Aug 2016 02:20:22 +0000
(22:20 -0400)
committer
Linus Torvalds
<
[email protected]
>
Thu, 4 Aug 2016 02:20:22 +0000
(22:20 -0400)
This reverts commit
16468c783cb4cf72475dcda23fabecb4a4bb0e17
.
Bisection showed that it was the root cause for a resume hang on a
bog-standard all-Intel laptop (Sony Vaio Pro 11), and reverting fixes
the hang.
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/pci/hotplug/acpiphp_glue.c
patch
|
blob
|
history
diff --git
a/drivers/pci/hotplug/acpiphp_glue.c
b/drivers/pci/hotplug/acpiphp_glue.c
index 6a33ddcfa20b45b7b5d7bbfdc04a2cf4288c8368..fa49f9143b80631108e10ef78e5e45e285c40cf8 100644
(file)
--- a/
drivers/pci/hotplug/acpiphp_glue.c
+++ b/
drivers/pci/hotplug/acpiphp_glue.c
@@
-675,8
+675,6
@@
static void acpiphp_check_bridge(struct acpiphp_bridge *bridge)
if (bridge->is_going_away)
return;
- pm_runtime_get_sync(&bridge->pci_dev->dev);
-
list_for_each_entry(slot, &bridge->slots, node) {
struct pci_bus *bus = slot->bus;
struct pci_dev *dev, *tmp;
@@
-696,8
+694,6
@@
static void acpiphp_check_bridge(struct acpiphp_bridge *bridge)
disable_slot(slot);
}
}
-
- pm_runtime_put(&bridge->pci_dev->dev);
}
/*