usb: gadget: composite: remove redundant bcdUSB setting in legacy
Since composite now overwrites bcdUSB for any gadget, remove setting it in legacy gadgets. All legacy gadgets set 0x0200, the same as the value additionally set by composite, so there is no behaviour change. Signed-off-by: Igor Kotrasinski <i.kotrasinsk@samsung.com> Rebase onto current balbi/next Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:

committed by
Felipe Balbi

parent
69b76cdff5
commit
0aecfc1b35
@@ -89,7 +89,7 @@ static struct usb_gadget_strings *dev_strings[] = {
|
||||
static struct usb_device_descriptor device_desc = {
|
||||
.bLength = USB_DT_DEVICE_SIZE,
|
||||
.bDescriptorType = USB_DT_DEVICE,
|
||||
.bcdUSB = cpu_to_le16(0x0200),
|
||||
/* .bcdUSB = DYNAMIC */
|
||||
.bDeviceClass = USB_CLASS_COMM,
|
||||
.idVendor = cpu_to_le16(NOKIA_VENDOR_ID),
|
||||
.idProduct = cpu_to_le16(NOKIA_PRODUCT_ID),
|
||||
|
Reference in New Issue
Block a user