Messages in this thread | | | Subject | Re: [PATCH 2/4] usb: gadget: f_midi: defaults buflen sizes to 512 | From | Felipe Ferreri Tonello <> | Date | Thu, 11 Aug 2016 09:34:41 +0100 |
| |
Hi Balbi,
On 10/08/16 12:25, Felipe Balbi wrote: > > Hi, > > "Felipe F. Tonello" <eu@felipetonello.com> writes: >> 512 is the value used by wMaxPacketSize, as specified by the USB Spec. This > > this is only true for HS :-) FS and SS use different sizes. Do you want > to use 1024 (SS maxp) by default instead? Then all speeds will have this > working out just fine.
That's true, altough I've never seen a FS or SS device with MIDI gadget, they are all 1.1 or 2.0 max.
Nevertheless, your suggestion really makes sense since it will work in any situation.
-- Felipe [unhandled content-type:application/pgp-keys][unhandled content-type:application/pgp-signature] | |