Re: [PATCH 2/4] usb: gadget: f_midi: defaults buflen sizes to 512

2016-08-11 Thread Felipe Ferreri Tonello
Hi Balbi, On 10/08/16 12:25, Felipe Balbi wrote: > > Hi, > > "Felipe F. Tonello" 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)

Re: [PATCH 2/4] usb: gadget: f_midi: defaults buflen sizes to 512

2016-08-10 Thread Felipe Balbi
Hi, "Felipe F. Tonello" 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

[PATCH 2/4] usb: gadget: f_midi: defaults buflen sizes to 512

2016-07-25 Thread Felipe F. Tonello
512 is the value used by wMaxPacketSize, as specified by the USB Spec. This makes sure this driver uses, by default, the most optimal value for IN and OUT endpoint requests. Signed-off-by: Felipe F. Tonello --- drivers/usb/gadget/function/f_midi.c | 2 +-