projects
/
platform
/
adaptation
/
samsung_exynos
/
device-manager-plugin-odroid.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6959425
)
usb gadget: Fix default value of bcdDevice
58/168158/1
author
Krzysztof Opasiak
<k.opasiak@samsung.com>
Wed, 24 Jan 2018 11:57:01 +0000
(12:57 +0100)
committer
Krzysztof Opasiak
<k.opasiak@samsung.com>
Wed, 24 Jan 2018 12:15:21 +0000
(13:15 +0100)
0xffff is not a correct BCD value thus let's replace
it with 0x0100
Change-Id: I6312575da80a2670fcbb62db79d2ed4d040ae367
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
hw/usb_gadget/usb_gadget.c
patch
|
blob
|
history
diff --git
a/hw/usb_gadget/usb_gadget.c
b/hw/usb_gadget/usb_gadget.c
index
fcf144c
..
36ff095
100644
(file)
--- a/
hw/usb_gadget/usb_gadget.c
+++ b/
hw/usb_gadget/usb_gadget.c
@@
-30,7
+30,7
@@
/* Based on slp-gadget and initial version of USB HAL by Taeyoung Kim */
#define DEFAULT_VID 0x04e8
#define DEFAULT_PID 0x6860
-#define DEFAULT_BCD_DEVICE 0x
ffff
+#define DEFAULT_BCD_DEVICE 0x
0100
#define DEFAULT_LANG 0x409 /* US_en */
#define DEFAULT_MANUFACTURER "Samsung"