[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0597024a-1bc2-4a0e-656f-5662edab9685@felipetonello.com>
Date: Thu, 11 Aug 2016 09:34:41 +0100
From: Felipe Ferreri Tonello <eu@...ipetonello.com>
To: Felipe Balbi <balbi@...nel.org>, linux-usb@...r.kernel.org
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/4] usb: gadget: f_midi: defaults buflen sizes to 512
Hi Balbi,
On 10/08/16 12:25, Felipe Balbi wrote:
>
> Hi,
>
> "Felipe F. Tonello" <eu@...ipetonello.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
Download attachment "0x92698E6A.asc" of type "application/pgp-keys" (7196 bytes)
Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)
Powered by blists - more mailing lists