Message ID | 20211221032039.65655-2-kai.heng.feng@canonical.com |
---|---|
State | New |
Headers | show |
Series | Fix USB3 detection on HP dock | expand |
diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index a9a04ea967019..a650f2bccb39a 100644 --- a/drivers/usb/core/hub.c +++ b/drivers/usb/core/hub.c @@ -1110,7 +1110,10 @@ static void hub_activate(struct usb_hub *hub, enum hub_activation_type type) } else { hub_power_on(hub, true); } - } + /* Give some time on remote wakeup to let links to transit to U0 */ + } else if (hub_is_superspeed(hub->hdev)) + msleep(20); + init2: /*