|
@@ -275,7 +275,6 @@ int usb_hub_port_connect_change(struct usb_device *dev, int port)
|
|
if (!(portstatus & USB_PORT_STAT_CONNECTION))
|
|
if (!(portstatus & USB_PORT_STAT_CONNECTION))
|
|
return -ENOTCONN;
|
|
return -ENOTCONN;
|
|
}
|
|
}
|
|
- mdelay(200);
|
|
|
|
|
|
|
|
/* Reset the port */
|
|
/* Reset the port */
|
|
ret = legacy_hub_port_reset(dev, port, &portstatus);
|
|
ret = legacy_hub_port_reset(dev, port, &portstatus);
|
|
@@ -285,8 +284,6 @@ int usb_hub_port_connect_change(struct usb_device *dev, int port)
|
|
return ret;
|
|
return ret;
|
|
}
|
|
}
|
|
|
|
|
|
- mdelay(200);
|
|
|
|
-
|
|
|
|
switch (portstatus & USB_PORT_STAT_SPEED_MASK) {
|
|
switch (portstatus & USB_PORT_STAT_SPEED_MASK) {
|
|
case USB_PORT_STAT_SUPER_SPEED:
|
|
case USB_PORT_STAT_SUPER_SPEED:
|
|
speed = USB_SPEED_SUPER;
|
|
speed = USB_SPEED_SUPER;
|