Hi, On Wed, Aug 24, 2011 at 10:26:53AM +0800, Dave Young wrote: > On Tue, Aug 23, 2011 at 12:04 AM, Michal Nazarewicz > <mnazarewicz@xxxxxxxxxx> wrote: > > From: Michal Nazarewicz <mina86@xxxxxxxxxx> > > > > This commit renames the “speed” field of the usb_gadget_driver > > structure to “max_speed”. This is so that to make it more > > apparent that the field represents the maximum speed gadget > > driver can support. > > > > This also make the field look more like fields with the same > > name in usb_gadget and usb_composite_driver structures. All > > of those represent the *maximal* speed given entity supports. > > > > After this commit, there are the following fields in various > > structures: > > * usb_gadget::speed - the current connection speed, > > * usb_gadget::max_speed - maximal speed UDC supports, > > * usb_gadget_driver::max_speed - maximal speed gadget driver > > supports, and > > * usb_composite_driver::max_speed - maximal speed composite > > gadget supports. > > > > Signed-off-by: Michal Nazarewicz <mina86@xxxxxxxxxx> > > --- > > drivers/usb/gadget/amd5536udc.c | 2 +- > > drivers/usb/gadget/ci13xxx_udc.c | 2 +- > > drivers/usb/gadget/composite.c | 8 ++++---- > > drivers/usb/gadget/dbgp.c | 2 +- > > drivers/usb/gadget/dummy_hcd.c | 13 ++++++------- > > drivers/usb/gadget/file_storage.c | 4 ++-- > > drivers/usb/gadget/gmidi.c | 2 +- > > drivers/usb/gadget/goku_udc.c | 2 +- > > drivers/usb/gadget/inode.c | 6 +++--- > > drivers/usb/gadget/m66592-udc.c | 2 +- > > drivers/usb/gadget/net2272.c | 2 +- > > drivers/usb/gadget/net2280.c | 2 +- > > drivers/usb/gadget/pch_udc.c | 2 +- > > drivers/usb/gadget/printer.c | 2 +- > > drivers/usb/gadget/r8a66597-udc.c | 2 +- > > include/linux/usb/gadget.h | 4 ++-- > > 16 files changed, 28 insertions(+), 29 deletions(-) > > > > Still missing drivers/usb/musb/musb_gadget for the speed check and the new DWC3 on Greg's usb-next branch. -- balbi
Attachment:
signature.asc
Description: Digital signature