]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: usb: Add support for companion controllers
authorHans de Goede <hdegoede@redhat.com>
Sun, 10 May 2015 12:10:20 +0000 (14:10 +0200)
committerSimon Glass <sjg@chromium.org>
Fri, 15 May 2015 00:49:31 +0000 (18:49 -0600)
commitb6de4d1093d3a30413da14c26767a9b0379924dc
tree9598966c89b00de6fd334e94a78de69853518c13
parenta24a0e91590bb7452ddf531b9ae0e93216bd1237
dm: usb: Add support for companion controllers

USB companion controllers must be scanned after the main controller has
been scanned, so that any devices which the main controller which to hand
over to the companion have actually been handed over before we scan the
companion.

As there are no guarantees that this will magically happen in the right
order, split the scanning of the buses in 2 phases, first main controllers,
and then companion controllers.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/usb/host/usb-uclass.c
include/usb.h