Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 321898
b: refs/heads/master
c: 0b68c8e
h: refs/heads/master
v: v3
  • Loading branch information
Rafael J. Wysocki authored and Bjorn Helgaas committed Aug 15, 2012
1 parent ebbf7f7 commit ccc2ea5
Show file tree
Hide file tree
Showing 2 changed files with 8 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: 3d0882c0d10d4b4785aeaf26043e764e3aaca825
refs/heads/master: 0b68c8e2c3afaf9807eb1ebe0ccfb3b809570aa4
7 changes: 7 additions & 0 deletions trunk/drivers/pci/pci-driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -959,6 +959,13 @@ static int pci_pm_poweroff_noirq(struct device *dev)
if (!pci_dev->state_saved && !pci_is_bridge(pci_dev))
pci_prepare_to_sleep(pci_dev);

/*
* The reason for doing this here is the same as for the analogous code
* in pci_pm_suspend_noirq().
*/
if (pci_dev->class == PCI_CLASS_SERIAL_USB_EHCI)
pci_write_config_word(pci_dev, PCI_COMMAND, 0);

return 0;
}

Expand Down

0 comments on commit ccc2ea5

Please sign in to comment.