
3 Feb
2019
3 Feb
'19
2:07 a.m.
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 jjhiblot@ti.com Acked-by: Lukasz Majewski lukma@denx.de
Applied to u-boot/master, thanks!
--
Tom