From 2bed6f53c0d781fe72b805b17e45249031ad060e Mon Sep 17 00:00:00 2001 From: Krzysztof Opasiak Date: Wed, 24 Jan 2018 12:57:01 +0100 Subject: 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 --- hw/usb_gadget/usb_gadget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/usb_gadget/usb_gadget.c b/hw/usb_gadget/usb_gadget.c index 32641d0..cc965a6 100755 --- 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" -- cgit v1.2.3