]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
usb: Do not log an error when no devices is plugged into a root-hub-less hcd
authorHans de Goede <hdegoede@redhat.com>
Sun, 11 Jan 2015 19:34:46 +0000 (20:34 +0100)
committerMarek Vasut <marex@denx.de>
Sun, 18 Jan 2015 11:31:36 +0000 (12:31 +0100)
commitd906bbc26219a0c10c34e595176d9376e134943b
tree15a555cad7a2f5c0adf969b505ae4254909d1711
parent3cbcb2892809b59d59bf62cb8e49705227ee382a
usb: Do not log an error when no devices is plugged into a root-hub-less hcd

Before this commit u-boot would print the following on boot with musb and
no usb device plugged in:

starting USB...
USB0:   Port not available.
USB error: all controllers failed lowlevel init

This commit changes this to:

starting USB...
USB0:   Port not available.

Which is the correct thing to do since the low-level init went fine.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
common/usb.c