diff options
Diffstat (limited to 'drivers/usb/core/hub.c')
-rw-r--r-- | drivers/usb/core/hub.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index feb6e596c7c9..0eb27006f846 100644 --- a/drivers/usb/core/hub.c +++ b/drivers/usb/core/hub.c | |||
@@ -3476,6 +3476,14 @@ static void hub_events(void) | |||
3476 | clear_port_feature(hdev, i, | 3476 | clear_port_feature(hdev, i, |
3477 | USB_PORT_FEAT_C_RESET); | 3477 | USB_PORT_FEAT_C_RESET); |
3478 | } | 3478 | } |
3479 | if ((portchange & USB_PORT_STAT_C_BH_RESET) && | ||
3480 | hub_is_superspeed(hub->hdev)) { | ||
3481 | dev_dbg(hub_dev, | ||
3482 | "warm reset change on port %d\n", | ||
3483 | i); | ||
3484 | clear_port_feature(hdev, i, | ||
3485 | USB_PORT_FEAT_C_BH_PORT_RESET); | ||
3486 | } | ||
3479 | if (portchange & USB_PORT_STAT_C_LINK_STATE) { | 3487 | if (portchange & USB_PORT_STAT_C_LINK_STATE) { |
3480 | clear_port_feature(hub->hdev, i, | 3488 | clear_port_feature(hub->hdev, i, |
3481 | USB_PORT_FEAT_C_PORT_LINK_STATE); | 3489 | USB_PORT_FEAT_C_PORT_LINK_STATE); |