diff options
Diffstat (limited to 'drivers/usb/core/quirks.c')
-rw-r--r-- | drivers/usb/core/quirks.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/usb/core/quirks.c b/drivers/usb/core/quirks.c index e3531da1613..44c595432d6 100644 --- a/drivers/usb/core/quirks.c +++ b/drivers/usb/core/quirks.c | |||
@@ -117,15 +117,6 @@ void usb_detect_quirks(struct usb_device *udev) | |||
117 | dev_dbg(&udev->dev, "USB quirks for this device: %x\n", | 117 | dev_dbg(&udev->dev, "USB quirks for this device: %x\n", |
118 | udev->quirks); | 118 | udev->quirks); |
119 | 119 | ||
120 | #ifdef CONFIG_USB_SUSPEND | ||
121 | |||
122 | /* By default, disable autosuspend for all devices. The hub driver | ||
123 | * will enable it for hubs. | ||
124 | */ | ||
125 | usb_disable_autosuspend(udev); | ||
126 | |||
127 | #endif | ||
128 | |||
129 | /* For the present, all devices default to USB-PERSIST enabled */ | 120 | /* For the present, all devices default to USB-PERSIST enabled */ |
130 | #if 0 /* was: #ifdef CONFIG_PM */ | 121 | #if 0 /* was: #ifdef CONFIG_PM */ |
131 | /* Hubs are automatically enabled for USB-PERSIST */ | 122 | /* Hubs are automatically enabled for USB-PERSIST */ |