From: Tom Rini Date: Thu, 29 Jun 2017 13:28:46 -0400 Subject: [U-Boot] usb: gadget: Call g_dnl_bind_fixup() before testing g_dnl_serial length In-Reply-To: <1498475098-17641-1-git-send-email-lukma@denx.de> References: <1498475098-17641-1-git-send-email-lukma@denx.de> Message-ID: <20170629172846.GK9889@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, Jun 26, 2017 at 01:04:58PM +0200, Lukasz Majewski wrote: > 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 > Acked-by: Heiko Schocher > Tested-by: Heiko Schocher Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: