[U-Boot] [PATCH v2] dm: usb: Do not reprobe usb hosts on "usb tree" command

Simon Glass sjg at chromium.org
Sat Apr 9 20:35:07 CEST 2016


On 2 April 2016 at 16:04, Hans de Goede <hdegoede at redhat.com> wrote:
> Some usb hosts may have failed to probe on "usb start", i.e. an otg
> host without an otg-host cable plugged in.
>
> "usb tree" would cause the probe method of these hosts to get called
> again, something which should only happen on "usb reset".
>
> This commit fixes this.
>
> Signed-off-by: Hans de Goede <hdegoede at redhat.com>
> ---
> Changes in v2:
> -Add missing #include for uclass_find_first_device/uclass_find_next_device
> ---
>  cmd/usb.c | 8 ++++++--
>  1 file changed, 6 insertions(+), 2 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list