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-03-18 16:08:42 +02:00
2014-02-14 16:22:31 +01:00
2013-06-07 14:55:33 +02:00
2014-02-14 21:12:05 +01:00
2013-12-17 20:12:51 +00:00
2013-12-24 18:02:18 +01:00
2014-02-03 14:04:00 +00:00
2014-05-07 19:14:46 +03:00
2014-05-07 18:36:37 +03:00
2014-05-26 08:42:43 +02:00
2014-02-26 17:20:00 +00:00
2014-02-14 21:11:53 +01:00
2014-02-14 16:22:31 +01:00
2013-07-29 21:06:27 +02:00
2013-07-29 00:27:35 +02:00
2013-11-05 17:47:30 +01:00
2014-04-17 21:34:06 +01:00
2014-02-27 10:01:40 +00:00
2014-05-08 14:19:59 -04:00
2014-03-11 13:27:27 +02:00
2014-04-08 11:20:04 +02:00
2014-05-20 13:05:58 +02:00
2014-03-14 10:06:55 +01:00
2013-04-13 13:51:45 +02:00
2013-06-02 18:13:54 +03:00
2014-04-17 21:34:06 +01:00
2014-06-02 16:28:59 +02:00
2014-05-05 14:15:10 +02:00
2014-05-07 16:18:04 +00:00
2014-05-28 17:36:13 +02:00
2013-09-10 11:14:41 +02:00
2013-04-15 15:16:01 +02:00
2014-03-05 03:06:46 +01:00
2014-04-07 15:36:07 +02:00
2014-02-10 10:23:35 +02:00
2013-06-27 15:38:35 -05:00
2014-02-20 17:28:08 +00:00
2013-10-14 17:11:44 +03:00
2014-03-11 13:25:48 +02:00
2013-11-05 18:06:52 +01:00
2014-02-04 15:51:45 +01:00
2014-05-28 17:36:21 +02:00
2014-02-14 21:12:04 +01:00
2014-03-19 22:23:13 +01:00
2014-05-28 17:36:21 +02:00
2013-05-01 20:55:21 +04:00
2013-10-14 17:11:44 +03:00
2014-06-02 16:29:00 +02:00