From: Felipe Balbi Date: Wed, 22 Feb 2017 15:12:41 +0000 (+0200) Subject: usb: gadget: g_dnl: don't set iProduct nor iSerialNumber X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=207835b13feeae15db0555574d89352a4e5379a4;p=u-boot.git 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 --- diff --git a/drivers/usb/gadget/g_dnl.c b/drivers/usb/gadget/g_dnl.c index 4cc4438fdb..d4bee9b03e 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, };