From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S941304AbcHJTam (ORCPT ); Wed, 10 Aug 2016 15:30:42 -0400 Received: from mga04.intel.com ([192.55.52.120]:58988 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S938908AbcHJS5G (ORCPT ); Wed, 10 Aug 2016 14:57:06 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,499,1464678000"; d="asc'?scan'208";a="1033080721" From: Felipe Balbi To: "Felipe F. Tonello" , 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 In-Reply-To: <20160725231506.3426-3-eu@felipetonello.com> References: <20160725231506.3426-1-eu@felipetonello.com> <20160725231506.3426-3-eu@felipetonello.com> User-Agent: Notmuch/0.22.1+63~g994277e (https://notmuchmail.org) Emacs/25.1.1 (x86_64-pc-linux-gnu) Date: Wed, 10 Aug 2016 14:25:52 +0300 Message-ID: <874m6sdfwf.fsf@linux.intel.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, "Felipe F. Tonello" writes: > 512 is the value used by wMaxPacketSize, as specified by the USB Spec. Th= is 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. =2D-=20 balbi --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXqw9AAAoJEIaOsuA1yqREPm8P/R5uupwApDPMD7q0LmulyA12 a9B6hdjFSvKUwiXSfkCxGBMJf6RAg6/i5HaTRhCtr+Fw3PSLbwQ2G+Y/pLHhcyMB AQbX3oVD/cfsvW2rRMZFmNI4qvxQ7Wd6v7JKMYg7oJeFxKhOrW4LQ9YtqpbEIBc7 bzp0OdxiQQTaL6fRzJEtEqXb3Jo+LNpFO35AHl/d0ToIs5SbKKJ5Bi1StvbZmfoe gsRfArZ5GFbwoMYLxksvpfbClgD+JU9f9shvYqK68Hbnuk5r8FuPdvrEt07FOa4l Q6Yjx/b4EZhIW7n1FSGEFe+BW1Bd+sNCMApgoC9Ps59Tq1cCMC9lFvA8Na9RP1pk dafxb3uLsMh8EXrKDADC0n5AtJgpPMCzviSEmbHp+zrgQgb1mAm3K7C9SCimzAIP 82PtrkOEeAfHRnEKnORdnMgBerFpWKo2XaSJuDoVcKWHnli7FxDYGUg905M0ctTi JskAjgs+cqClw/NzvE0DdW9cdGQ2A2wJ0RkDF3Jmil2D2V/5YQLMdpi8WEYZvXFI wJ9JamULyMW7urHT3l7lFjAYA/4085CGHdIVokfbqROmMoTG68FH386E8TBwWsMb fjTsGqXwF+fRbmfqonlLSPS3mECpiPjIh6TrPUKxfk0fEtmaOc9Xm/sUrX3mkz10 UpNL0dVhaLmFVxdrwIeH =MW/G -----END PGP SIGNATURE----- --=-=-=--