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-05-29 12:41:04 +02:00
2015-05-29 12:41:04 +02:00
2013-10-20 23:46:27 +02:00
2014-09-19 00:11:21 +02:00
2015-05-06 14:00:35 -06:00
2015-04-18 11:11:24 -06:00
2015-06-07 15:46:02 +02:00
2015-06-19 14:33:28 +02:00
2015-07-10 14:55:50 +02:00
2013-10-24 09:35:09 -07:00
2015-04-18 11:11:24 -06:00
2014-11-14 20:56:54 +01:00
2013-10-20 23:46:27 +02:00
2014-09-29 09:02:16 +02:00
2013-12-06 07:02:32 -05:00
2015-02-05 22:16:42 -07:00
2013-10-20 23:46:27 +02:00
2014-11-07 16:32:02 +01:00
2013-10-20 23:46:27 +02:00
2015-05-14 18:49:32 -06:00
2015-06-10 19:26:55 -06:00
2015-05-31 02:53:56 +09:00
2013-10-20 23:46:27 +02:00
2015-06-08 08:41:56 +02:00
2014-05-14 07:43:35 +02:00
2015-04-18 11:11:25 -06:00
2014-11-20 11:28:25 -05:00
2013-07-24 09:44:38 -04:00
2015-05-31 02:55:30 +09:00
2015-05-14 18:49:32 -06:00
2014-09-19 00:11:20 +02:00
2013-07-24 09:44:38 -04:00
2014-07-04 23:45:48 +02:00
2015-05-14 18:49:35 -06:00
2014-11-20 11:28:25 -05:00
2012-10-18 06:54:18 +02:00
2015-05-14 18:49:32 -06:00
2015-05-14 18:49:35 -06:00
2014-11-20 11:28:25 -05:00
2011-08-08 21:40:40 +02:00
2013-10-20 23:45:26 +02:00
2009-04-06 20:40:46 +02:00
2015-04-18 11:11:26 -06:00
2015-07-21 17:39:36 -06:00
2013-07-24 09:44:38 -04:00
2015-05-06 14:00:35 -06:00
2014-10-23 11:27:04 -04:00
2015-04-18 11:11:28 -06:00
2014-07-09 22:11:51 +02:00
2015-02-05 22:16:42 -07:00
2015-04-18 11:11:28 -06:00
2015-05-31 02:53:56 +09:00
2015-04-18 11:11:28 -06:00
2015-04-18 11:11:28 -06:00