Re: [Qemu-devel] [PATCH] usb: add usb_pick_speed

2014-05-26 Thread Gonglei (Arei)
at.com; Gerd Hoffmann > Subject: [Qemu-devel] [PATCH] 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

[Qemu-devel] [PATCH] usb: add usb_pick_speed

2014-05-26 Thread Gerd Hoffmann
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 call