]> git.kernelconcepts.de Git - karo-tx-uboot.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)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:39:38 +0000 (22:39 +0200)
commit3664a6b69da22dce53d9e64cf053d337c2c07221
tree41d6f180824f1240cf419252a44a4721be508bc9
parenta5cdadd93bf51d9797662bf672c7c1cf789762d5
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