|
@@ -959,6 +959,13 @@ static int pci_pm_poweroff_noirq(struct device *dev)
|
|
|
if (!pci_dev->state_saved && !pci_is_bridge(pci_dev))
|
|
if (!pci_dev->state_saved && !pci_is_bridge(pci_dev))
|
|
|
pci_prepare_to_sleep(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;
|
|
return 0;
|
|
|
}
|
|
}
|
|
|
|
|
|