summaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorFelipe Balbi <felipe.balbi@linux.intel.com>2017-02-22 15:12:41 (GMT)
committerMarek Vasut <marex@denx.de>2017-04-14 14:44:16 (GMT)
commit207835b13feeae15db0555574d89352a4e5379a4 (patch)
treeb4109712d271e0ad79407b01851b22f70c46546d /drivers/usb
parent842778a091047b0c868efa12229633959f711152 (diff)
downloadu-boot-207835b13feeae15db0555574d89352a4e5379a4.tar.xz
usb: gadget: g_dnl: don't set iProduct nor iSerialNumber
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>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/gadget/g_dnl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/gadget/g_dnl.c b/drivers/usb/gadget/g_dnl.c
index 4cc4438..d4bee9b 100644
--- 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,
};