From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [U-Boot, v1, 1/4] usb: ether: call _usb_eth_halt() if initialization fails
Date: Sat, 2 Feb 2019 20:07:51 -0500 [thread overview]
Message-ID: <20190203010751.GU30838@bill-the-cat> (raw)
In-Reply-To: <20190122154819.3171-2-jjhiblot@ti.com>
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
-------------- 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>
next prev parent reply other threads:[~2019-02-03 1:07 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-22 15:48 [U-Boot] [PATCH v1 0/4] Enable DM USB support (host and gadget) and full RNDIS boot flow Jean-Jacques Hiblot
2019-01-22 15:48 ` [U-Boot] [PATCH v1 1/4] usb: ether: call _usb_eth_halt() if initialization fails Jean-Jacques Hiblot
2019-01-22 22:37 ` Lukasz Majewski
2019-02-03 1:07 ` Tom Rini [this message]
2019-01-22 15:48 ` [U-Boot] [PATCH v1 2/4] ARM: DTS: am335x-evm: Use USB0 in peripheral mode Jean-Jacques Hiblot
2019-01-22 17:06 ` Tom Rini
2019-02-03 1:07 ` [U-Boot] [U-Boot, v1, " Tom Rini
2019-01-22 15:48 ` [U-Boot] [PATCH v1 3/4] configs: am335x_evm: enable DM_USB_GADGET and USB_ETHER in u-boot and SPL Jean-Jacques Hiblot
2019-01-22 17:06 ` Tom Rini
2019-02-03 1:08 ` [U-Boot] [U-Boot, v1, " Tom Rini
2019-01-22 15:48 ` [U-Boot] [PATCH v1 4/4] configs: removing am335x_evm_usbspl_defconfig Jean-Jacques Hiblot
2019-01-22 17:07 ` Tom Rini
2019-02-03 1:08 ` [U-Boot] [U-Boot, v1, " Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190203010751.GU30838@bill-the-cat \
--to=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox