From 765516f8852911abd242ecd40ea7e6b6839ecf30 Mon Sep 17 00:00:00 2001 From: Ajay Kumar Gupta Date: Fri, 7 Jan 2011 19:36:05 +0530 Subject: [PATCH] usb: pm: disbale autosuspend in default mode Signed-off-by: Ajay Kumar Gupta Signed-off-by: Sriramakrishnan A G Signed-off-by: Vaibhav Hiremath --- drivers/usb/core/hub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index 79781461eec9..5b4da304e2dc 100644 --- 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, -- 2.26.2