Re: [PATCH 1/1] usb: gadget: f_uac2: finalize wMaxPacketSize according to bandwidth

2015-07-14 Thread Peter Chen
On Tue, Jul 14, 2015 at 04:04:23PM -0400, Daniel Mack wrote: > Hi, > > On 07/14/2015 04:29 AM, Peter Chen wrote: > > According to USB Audio Device 2.0 Spec, Ch4.10.1.1: > > wMaxPacketSize is defined as follows: > > Maximum packet size this endpoint is capable of sending or receiving > > when this

Re: [PATCH 1/1] usb: gadget: f_uac2: finalize wMaxPacketSize according to bandwidth

2015-07-14 Thread Daniel Mack
Hi, On 07/14/2015 04:29 AM, Peter Chen wrote: > According to USB Audio Device 2.0 Spec, Ch4.10.1.1: > wMaxPacketSize is defined as follows: > Maximum packet size this endpoint is capable of sending or receiving > when this configuration is selected. > This is determined by the audio bandwidth cons

[PATCH 1/1] usb: gadget: f_uac2: finalize wMaxPacketSize according to bandwidth

2015-07-14 Thread Peter Chen
According to USB Audio Device 2.0 Spec, Ch4.10.1.1: wMaxPacketSize is defined as follows: Maximum packet size this endpoint is capable of sending or receiving when this configuration is selected. This is determined by the audio bandwidth constraints of the endpoint. In current code, the wMaxPacket