aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/core
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/core')
-rw-r--r--drivers/usb/core/hub.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c
index 3f8933f10e7d..92dde941fdbe 100644
--- a/drivers/usb/core/hub.c
+++ b/drivers/usb/core/hub.c
@@ -1135,6 +1135,11 @@ static void hub_activate(struct usb_hub *hub, enum hub_activation_type type)
1135 usb_clear_port_feature(hub->hdev, port1, 1135 usb_clear_port_feature(hub->hdev, port1,
1136 USB_PORT_FEAT_C_ENABLE); 1136 USB_PORT_FEAT_C_ENABLE);
1137 } 1137 }
1138 if (portchange & USB_PORT_STAT_C_RESET) {
1139 need_debounce_delay = true;
1140 usb_clear_port_feature(hub->hdev, port1,
1141 USB_PORT_FEAT_C_RESET);
1142 }
1138 if ((portchange & USB_PORT_STAT_C_BH_RESET) && 1143 if ((portchange & USB_PORT_STAT_C_BH_RESET) &&
1139 hub_is_superspeed(hub->hdev)) { 1144 hub_is_superspeed(hub->hdev)) {
1140 need_debounce_delay = true; 1145 need_debounce_delay = true;