summaryrefslogtreecommitdiffstats
path: root/linux-2.6-usb-pci-autosuspend.patch
diff options
context:
space:
mode:
Diffstat (limited to 'linux-2.6-usb-pci-autosuspend.patch')
-rw-r--r--linux-2.6-usb-pci-autosuspend.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/linux-2.6-usb-pci-autosuspend.patch b/linux-2.6-usb-pci-autosuspend.patch
deleted file mode 100644
index 610a7654d..000000000
--- a/linux-2.6-usb-pci-autosuspend.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-commit 15d89120d03116adbbf3226a85fbd2fff0b12576
-Author: Matthew Garrett <mjg@redhat.com>
-Date: Fri Sep 17 11:09:12 2010 -0400
-
- Enable USB PCI autosuspend by default
-
-diff --git a/drivers/usb/core/hcd-pci.c b/drivers/usb/core/hcd-pci.c
-index c3f9854..3c020e6 100644
---- a/drivers/usb/core/hcd-pci.c
-+++ b/drivers/usb/core/hcd-pci.c
-@@ -248,8 +248,10 @@ int usb_hcd_pci_probe(struct pci_dev *dev, const struct pci_device_id *id)
- goto err4;
- set_hs_companion(dev, hcd);
-
-- if (pci_dev_run_wake(dev))
-+ if (pci_dev_run_wake(dev)) {
- pm_runtime_put_noidle(&dev->dev);
-+ pm_runtime_allow(&dev->dev);
-+ }
- return retval;
-
- err4: