projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
842778a
)
usb: gadget: g_dnl: don't set iProduct nor iSerialNumber
author
Felipe Balbi
<felipe.balbi@linux.intel.com>
Wed, 22 Feb 2017 15:12:41 +0000
(17:12 +0200)
committer
Marek Vasut
<marex@denx.de>
Fri, 14 Apr 2017 14:44:16 +0000
(16:44 +0200)
Both these numbers are calculated in runtime and dynamically assigned
to the device descriptor during bind().
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/g_dnl.c
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/g_dnl.c
b/drivers/usb/gadget/g_dnl.c
index 4cc4438fdb4aff09f933a83e59e911e4346f2a6a..d4bee9b03e4f1d05619944ededc17cd2dc623d7b 100644
(file)
--- a/
drivers/usb/gadget/g_dnl.c
+++ b/
drivers/usb/gadget/g_dnl.c
@@
-62,8
+62,8
@@
static struct usb_device_descriptor device_desc = {
.idVendor = __constant_cpu_to_le16(CONFIG_G_DNL_VENDOR_NUM),
.idProduct = __constant_cpu_to_le16(CONFIG_G_DNL_PRODUCT_NUM),
- .iProduct = STRING_PRODUCT,
- .iSerialNumber = STRING_SERIAL,
+ /* .iProduct = DYNAMIC */
+ /* .iSerialNumber = DYNAMIC */
.bNumConfigurations = 1,
};