Files
u-boot/drivers
Hans de Goede fd1bd21bf0 dm: usb: Do not assume that first child is always a hub
On some single port (otg) controllers there is no emulated root hub, so
the first child (if any) may be one of: UCLASS_MASS_STORAGE,
UCLASS_USB_DEV_GENERIC or UCLASS_USB_HUB.

All three of these (and in the future others) are suitable for our
purposes, remove the check for the device being a hub, and add a check to
deal with the fact that there may be no child-dev.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Simon Glass <sjg@chromium.org>
2015-07-21 17:39:36 -06:00
..
2015-03-30 23:24:38 -05:00
2015-04-10 14:23:23 +02:00
2015-05-26 14:13:12 +02:00
2015-07-21 17:39:27 -06:00
2015-07-21 17:39:29 -06:00
2015-07-21 17:39:29 -06:00