projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6181384
)
USB: set bcdDevice default value 3.0
author
wlf
<wulf@rock-chips.com>
Tue, 25 Feb 2014 09:37:56 +0000
(17:37 +0800)
committer
wlf
<wulf@rock-chips.com>
Tue, 25 Feb 2014 09:37:56 +0000
(17:37 +0800)
drivers/usb/gadget/android.c
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/android.c
b/drivers/usb/gadget/android.c
index 6de842d6af97455320a6218db32ce090e2a9034d..6712beb388c6f88c8b216cbc253aca718ef2d728 100644
(file)
--- a/
drivers/usb/gadget/android.c
+++ b/
drivers/usb/gadget/android.c
@@
-1347,6
+1347,7
@@
static int android_bind(struct usb_composite_dev *cdev)
return id;
strings_dev[STRING_SERIAL_IDX].id = id;
device_desc.iSerialNumber = id;
+ device_desc.bcdDevice = cpu_to_le16(get_default_bcdDevice());
usb_gadget_set_selfpowered(gadget);
dev->cdev = cdev;