Re: [PATCH 06/41] usb: gadget: add max_speed to usb_composite_driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
All gadget drivers ensure defer preparing descriptors and deciding their
own supported feature-set until all info of UDC has been gotten. Haven't
seen every gadget driver to say if it's gonna be a big task.

-jassi
--
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


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux