On Wed, Jun 29, 2011 at 8:13 PM, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote: > On Wed, 29 Jun 2011, Jassi Brar wrote: > >> On Wed, Jun 29, 2011 at 3:57 PM, Tanya Brokhman <tlinder@xxxxxxxxxxxxxx> wrote: >> >> Though that might mean some modifications to the gadget stack! >> > >> > Hmmm... to the gadget stack? I would think that perhaps some modifications are required to gadget drivers that don't support HS at the moment, although I can't think of such. >> > What modifications to the gadget stack do you have in mind? >> >> By gadget stack I meant USB device side code in general. >> >> Well, yes may be not many changes. >> gadget_is_dualspeed() should simply be a wrapper for gadget->is_dualspeed >> CONFIG_USB_GADGET_DUALSPEED should be completely removed. > > No, it should not. It provides a way for gadget drivers to know _at > compile time_ whether they need to provide HS descriptors. > IMHO Gadget drivers need not be specified at _compile_ time if they could be used over high speed UDC. The gadget drivers should simply support HS descriptors too and decide at runtime if they need to use them. -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html