Re: [PATCHv3 2/4] usb: gadget: replace "is_dualspeed" with"max_speed"

From: Felipe Balbi
Date: Tue Aug 23 2011 - 13:21:34 EST


Hi,

On Tue, Aug 23, 2011 at 11:43:44AM -0400, Alan Stern wrote:
> > if they are both part of the of the same configuration, full speed.
> > Otherwise Audio won't work. If they are part of different
> > configurations, then maximum_speed will be defined by the chosen config,
> > no ?
>
> No. The speed has to be chosen first, when the gadget connects to the
> host. The config isn't chosen until later, after the host retrieves
> the various descriptors and decides among them.

true

> > I stand with the fact that if they are part of the same configuration,
> > there's no way around it, storage will have to come down to full speed.
> > Unless I'm missing something.
>
> What if they are in different configurations?

then you use the fastest speed between both configurations?

--
balbi

Attachment: signature.asc
Description: Digital signature