u-boot-brain/drivers/usb
Lukasz Majewski 2a0583e3e8 usb: gadget: Call g_dnl_bind_fixup() before testing g_dnl_serial length
After the commit SHA1: 842778a091 - the serial number descriptor is only
visible when we have non zero length of g_dnl_serial.

However, on some platforms (e.g. Siemens) the serial number is set at
g_dnl_bind_fixup(), so with the current code we will always omit the
serial (since it is not set).

This commit moves the g_dnl_bind_fixup() call before the g_dnl_serial
length test.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
Acked-by: Heiko Schocher <hs@denx.de>
Tested-by: Heiko Schocher <hs@denx.de>
2017-06-29 09:51:05 -04:00
..
common common: arm: freescale: layerscape: Move header files out of common.h 2017-06-05 14:12:59 -04:00
dwc3 usb: dwc3: gadget: make cache-maintenance on event buffers more robust 2017-04-14 16:44:16 +02:00
emul sandbox: usb: Convert emulators to livetree 2017-06-01 07:03:13 -06:00
eth net: usb: mcs7830: fix non-DM ingress path 2017-05-21 16:44:04 +02:00
gadget usb: gadget: Call g_dnl_bind_fixup() before testing g_dnl_serial length 2017-06-29 09:51:05 -04:00
host drivers/usb/ehci: Use platform-specific accessors 2017-06-17 17:59:03 +02:00
musb omap4: Drop redundant CONFIG_OMAP4430 symbol 2017-05-15 10:39:59 -04:00
musb-new dm: core: Update device_bind_driver_to_node() to use ofnode 2017-06-01 07:03:08 -06:00
phy treewide: replace #include <asm-generic/errno.h> with <linux/errno.h> 2016-09-23 22:25:27 -04:00
ulpi usb: ulpi: Fix compile warning in read/write on 64-bit machines. 2016-04-01 17:18:09 -04:00
Kconfig usb: gadget: Move CONFIG_USB_GADGET_DUALSPEED to Kconfig 2016-04-20 11:43:27 +02:00