Gerd Hoffmann b791c3b38c usb: add usb_pick_speed
We can pick the usb port speed in generic code, by looking at the port
and device speed masks and looking for the fastest match.  So add a
function to do exactly that, and drop the speed setting code from
usb_desc_attach as it isn't needed any more.

This way we can set the device speed before calling port->ops->attach,
which fixes some xhci hotplug issues.

https://bugzilla.redhat.com/show_bug.cgi?id=1046873

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2014-06-02 16:29:00 +02:00
..
2014-05-14 15:24:52 +02:00
2014-06-02 16:29:00 +02:00
2014-06-02 16:29:00 +02:00
2014-04-22 12:40:57 +02:00
2014-02-20 15:25:05 +00:00
2013-08-30 20:14:39 +02:00
2014-05-05 12:29:41 +02:00
2014-05-26 08:41:07 +02:00
2013-02-19 12:30:05 +01:00
2013-06-20 16:39:52 +02:00