From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Sat, 2 Feb 2019 20:07:51 -0500 Subject: [U-Boot] [U-Boot, v1, 1/4] usb: ether: call _usb_eth_halt() if initialization fails In-Reply-To: <20190122154819.3171-2-jjhiblot@ti.com> References: <20190122154819.3171-2-jjhiblot@ti.com> Message-ID: <20190203010751.GU30838@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 Tue, Jan 22, 2019 at 04:48:16PM +0100, Jean-Jacques Hiblot wrote: > If the host does not respond in time, the initialization fails. However > the usb ether driver will still be registered. This will make > usb_gadget_probe_driver() fail the next time the initialization is > attempted because it cannot find an available UDC. > > Fixing this by calling _usb_eth_halt() when the init fails. > > Signed-off-by: Jean-Jacques Hiblot > Acked-by: Lukasz Majewski 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: not available URL: