summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1eb4f60)
raw | patch | inline | side by side (parent: 1eb4f60)
author | Ajay Kumar Gupta <ajay.gupta@ti.com> | |
Fri, 7 Jan 2011 14:06:05 +0000 (19:36 +0530) | ||
committer | Vaibhav Hiremath <hvaibhav@ti.com> | |
Mon, 23 Jan 2012 19:14:09 +0000 (00:44 +0530) |
Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
Signed-off-by: Sriramakrishnan A G <srk@ti.com>
Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: Sriramakrishnan A G <srk@ti.com>
Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
drivers/usb/core/hub.c | patch | blob | history |
diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c
index 79781461eec97ad27c4986178266a63034f4693f..5b4da304e2dc11f4d35710e7e32712b40cc24e89 100644 (file)
--- a/drivers/usb/core/hub.c
+++ b/drivers/usb/core/hub.c
@@ -1296,7 +1296,7 @@ static int hub_probe(struct usb_interface *intf, const struct usb_device_id *id)
* since that isn't a "real" hub.
*/
if (!hub_is_superspeed(hdev) || !hdev->parent)
- usb_enable_autosuspend(hdev);
+ usb_disable_autosuspend(hdev);
if (hdev->level == MAX_TOPO_LEVEL) {
dev_err(&intf->dev,