[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <eaa330e8-0510-445d-8aef-b39164169cb1@rowland.harvard.edu>
Date: Wed, 18 Dec 2024 10:51:49 -0500
From: Alan Stern <stern@...land.harvard.edu>
To: Selvarasu Ganesan <selvarasu.g@...sung.com>
Cc: Greg KH <gregkh@...uxfoundation.org>, quic_jjohnson@...cinc.com,
kees@...nel.org, abdul.rahim@...ahoo.com,
m.grzeschik@...gutronix.de, linux-usb@...r.kernel.org,
linux-kernel@...r.kernel.org, jh0801.jung@...sung.com,
dh10.jung@...sung.com, naushad@...sung.com, akash.m5@...sung.com,
rc93.raju@...sung.com, taehyun.cho@...sung.com,
hongpooh.kim@...sung.com, eomji.oh@...sung.com,
shijie.cai@...sung.com, alim.akhtar@...sung.com,
stable@...r.kernel.org
Subject: Re: [PATCH] usb: gadget: f_midi: Fixing wMaxPacketSize exceeded
issue during MIDI bind retries
On Wed, Dec 18, 2024 at 03:51:50PM +0530, Selvarasu Ganesan wrote:
> The issue arises during the second time the "f_midi_bind" function is
> called. The problem lies in the fact that the size of
> "bulk_in_desc.wMaxPacketSize" is set to 1024 during the first call,
> which exceeds the hardware capability of the dwc3 TX/RX FIFO
> (ep->maxpacket_limit = 512).
Is this gadget supposed to be able to run at SuperSpeed? I thought the
dwc3 controller supported SuperSpeed operation.
The USB-3 spec requires that all SuperSpeed bulk endpoints must have a
wMaxPacketSize of 1024 (see Table 9-24 on p.9-25 of the USB-3.1
specification).
Alan Stern
Powered by blists - more mailing lists