This patch sets bcdOTG field of OTG descriptor for below 3 gadget drivers:
- ether
- mass storage
- serial
OTG and EH supplement release number in binary-coded decimal(i.e. 2.0 is 0200H).
Acked-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Li Jun <b47624@freescale.com>
* it would not be called "OTG" ...
*/
.bmAttributes = USB_OTG_SRP | USB_OTG_HNP,
+ .bcdOTG = cpu_to_le16(0x0200),
};
static const struct usb_descriptor_header *otg_desc[] = {
* it would not be called "OTG" ...
*/
.bmAttributes = USB_OTG_SRP | USB_OTG_HNP,
+ .bcdOTG = cpu_to_le16(0x0200),
};
static const struct usb_descriptor_header *otg_desc[] = {
* it would not be called "OTG" ...
*/
.bmAttributes = USB_OTG_SRP | USB_OTG_HNP,
+ .bcdOTG = cpu_to_le16(0x0200),
};
static const struct usb_descriptor_header *otg_desc[] = {