[U-Boot] [U-Boot, v1, 1/4] usb: ether: call _usb_eth_halt() if initialization fails

Tom Rini trini at konsulko.com
Sun Feb 3 01:07:51 UTC 2019


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 at ti.com>
> Acked-by: Lukasz Majewski <lukma at denx.de>

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: <http://lists.denx.de/pipermail/u-boot/attachments/20190202/d7d2abde/attachment.sig>


More information about the U-Boot mailing list