Skip to content
Snippets Groups Projects
Commit 207835b1 authored by Felipe Balbi's avatar Felipe Balbi Committed by Marek Vasut
Browse files

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: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
parent 842778a0
No related branches found
No related tags found
No related merge requests found
......@@ -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,
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment