[PATCH v3 09/22] usb: gadget: add usb_otg_descriptor_add interface to init usb_otg_descriptor

2015-06-16 Thread Li Jun
Allocate usb_otg_descriptor and initialize it according to gadget otg options, if none of options is not set, keep bmAttributes setting as current gadget drivers, with this new interface, usb_otg_descriptor can include bcdOTG if OTG 2.0 or later, and otg features can be decided by the combination

Re: [PATCH v3 09/22] usb: gadget: add usb_otg_descriptor_add interface to init usb_otg_descriptor

2015-06-16 Thread Roger Quadros
On Tue, 16 Jun 2015 14:51:59 +0800 Li Jun jun...@freescale.com wrote: Allocate usb_otg_descriptor and initialize it according to gadget otg options, if none of options is not set, keep bmAttributes setting as current gadget drivers, with this new interface, usb_otg_descriptor can include

Re: [PATCH v3 09/22] usb: gadget: add usb_otg_descriptor_add interface to init usb_otg_descriptor

2015-06-16 Thread Li Jun
On Tue, Jun 16, 2015 at 11:01:58AM +0300, Roger Quadros wrote: On Tue, 16 Jun 2015 14:51:59 +0800 Li Jun jun...@freescale.com wrote: Allocate usb_otg_descriptor and initialize it according to gadget otg options, if none of options is not set, keep bmAttributes setting as current gadget