Signaling (even D- vs D+ pullup) may not be stable
for a while.
At least one OTG root hub won't reliably (<10%) report device speed until
after reset (and the OTG state transitions have quiesced for a while).
This patch makes that not matter.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
}
usb_set_device_state(udev, USB_STATE_POWERED);
-
- /* hub can tell if it's lowspeed already: D- pullup (not D+) */
- if (portstatus & USB_PORT_STAT_LOW_SPEED)
- udev->speed = USB_SPEED_LOW;
- else
- udev->speed = USB_SPEED_UNKNOWN;
+ udev->speed = USB_SPEED_UNKNOWN;
/* set the address */
choose_address(udev);