lkml.org 
[lkml]   [2011]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCHv3 2/4] usb: gadget: replace "is_dualspeed" with "max_speed"
On Wed, 24 Aug 2011, Michal Nazarewicz wrote:

> I've found where my reasoning was faulty. The usb_gadget_driver's
> max_speed is set before all the functions get added so composite.c has
> no way to figure those things in advance. That's why we need to relay
> on usb_composite_driver's max_speed be set to a proper value.

This is what Felipe was complaining about earlier. We shouldn't set
max_speed or allow the UDC to connect to the host until all the
functions have been added.

Alan Stern



\
 
 \ /
  Last update: 2011-08-24 17:17    [W:0.645 / U:1.672 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site