usb: pm: disbale autosuspend in default mode
authorAjay Kumar Gupta <ajay.gupta@ti.com>
Fri, 7 Jan 2011 14:06:05 +0000 (19:36 +0530)
committerVaibhav 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>
drivers/usb/core/hub.c

index 79781461eec97ad27c4986178266a63034f4693f..5b4da304e2dc11f4d35710e7e32712b40cc24e89 100644 (file)
@@ -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)
         * 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,
 
        if (hdev->level == MAX_TOPO_LEVEL) {
                dev_err(&intf->dev,