From: Felipe Balbi <balbi@kernel.org>
To: "Felipe F. Tonello" <eu@felipetonello.com>, linux-usb@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/4] usb: gadget: f_midi: defaults buflen sizes to 512
Date: Wed, 10 Aug 2016 14:25:52 +0300 [thread overview]
Message-ID: <874m6sdfwf.fsf@linux.intel.com> (raw)
In-Reply-To: <20160725231506.3426-3-eu@felipetonello.com>
[-- Attachment #1: Type: text/plain, Size: 327 bytes --]
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.
--
balbi
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]
next prev parent reply other threads:[~2016-08-10 19:30 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-25 23:15 [PATCH 0/4] MIDI Function improvements Felipe F. Tonello
2016-07-25 23:15 ` [PATCH 1/4] usb: gadget: f_midi: fixed endianness when using wMaxPacketSize Felipe F. Tonello
2016-07-26 1:51 ` Baolin Wang
2016-08-10 11:24 ` Felipe Balbi
2016-08-11 8:37 ` Felipe Ferreri Tonello
2016-07-25 23:15 ` [PATCH 2/4] usb: gadget: f_midi: defaults buflen sizes to 512 Felipe F. Tonello
2016-08-10 11:25 ` Felipe Balbi [this message]
2016-08-11 8:34 ` Felipe Ferreri Tonello
2016-07-25 23:15 ` [PATCH 3/4] usb: gadget: f_midi: refactor state machine Felipe F. Tonello
2016-07-25 23:15 ` [PATCH 4/4] usb: gadget: f_midi: drop substreams when disabling endpoint Felipe F. Tonello
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874m6sdfwf.fsf@linux.intel.com \
--to=balbi@kernel.org \
--cc=eu@felipetonello.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox