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-07 21:00:43 +04:00
2014-05-07 12:13:42 +03:00
2014-05-28 17:35:01 +02:00
2014-05-28 17:36:21 +02:00
2014-05-20 08:49:21 +02:00
2014-05-28 14:28:46 +02:00
2013-09-10 11:14:41 +02:00
2014-05-16 08:30:12 +02:00
2014-05-28 17:36:21 +02:00
2013-12-24 18:02:18 +01:00
2014-05-28 17:35:01 +02:00
2014-05-28 15:00:33 +01:00
2014-05-15 17:29:03 +01:00
2014-05-13 16:09:35 +01:00
2014-05-14 15:24:51 +02:00
2014-05-28 17:35:01 +02:00
2014-05-14 15:24:51 +02:00
2014-05-26 08:42:43 +02:00
2014-05-20 13:05:58 +02:00
2014-05-14 15:24:51 +02:00
2014-05-05 20:58:33 +02:00
2014-05-28 17:35:01 +02:00
2014-05-28 17:35:01 +02:00
2014-05-28 17:36:21 +02:00
2014-05-28 17:35:01 +02:00
2014-05-24 19:43:52 +02:00
2014-05-28 17:35:01 +02:00
2014-05-26 10:41:22 +04:00
2014-05-14 15:24:51 +02:00
2014-05-28 17:35:01 +02:00
2014-05-24 00:10:29 +04:00
2014-02-10 10:27:00 +02:00
2014-05-14 15:24:51 +02:00
2014-03-19 22:23:13 +01:00
2014-05-28 17:35:01 +02:00
2014-05-28 17:35:01 +02:00
2014-05-22 15:27:46 +01:00
2014-05-14 15:24:51 +02:00
2014-05-28 17:35:01 +02:00
2014-05-28 17:35:01 +02:00
2014-05-28 17:35:01 +02:00
2014-05-28 17:36:21 +02:00
2014-05-15 14:00:46 -04:00
2013-08-22 19:10:27 +02:00
2014-05-28 17:35:01 +02:00
2014-06-02 16:29:00 +02:00
2014-05-15 14:00:46 -04:00
2014-05-05 20:58:33 +02:00
2014-05-07 18:38:39 +01:00
2014-05-28 17:35:01 +02:00
2014-05-28 17:35:01 +02:00
2014-03-04 09:20:49 +05:30