summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2018-01-24 12:57:01 +0100
committerKrzysztof Opasiak <k.opasiak@samsung.com>2018-01-24 13:15:21 +0100
commit0b7459d12e5675eecaf80a572fc2e30ee8b20355 (patch)
tree91651be1b00807c426a757dae217790dfb117257
parent6959425889f5203a8d91c294ba8d27c269bae140 (diff)
downloaddevice-manager-plugin-odroid-0b7459d12e5675eecaf80a572fc2e30ee8b20355.tar.gz
device-manager-plugin-odroid-0b7459d12e5675eecaf80a572fc2e30ee8b20355.tar.bz2
device-manager-plugin-odroid-0b7459d12e5675eecaf80a572fc2e30ee8b20355.zip
usb gadget: Fix default value of bcdDevice
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>
-rw-r--r--hw/usb_gadget/usb_gadget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/usb_gadget/usb_gadget.c b/hw/usb_gadget/usb_gadget.c
index fcf144c..36ff095 100644
--- 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 0xffff
+#define DEFAULT_BCD_DEVICE 0x0100
#define DEFAULT_LANG 0x409 /* US_en */
#define DEFAULT_MANUFACTURER "Samsung"