[U-Boot] [PATCH v5 08/15] dm: usb: Add support for companion controllers

Simon Glass sjg at chromium.org
Tue May 12 00:37:16 CEST 2015


On 11 May 2015 at 16:33, Simon Glass <sjg at chromium.org> wrote:
> On 10 May 2015 at 06:10, Hans de Goede <hdegoede at redhat.com> wrote:
>> 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 at redhat.com>
>> ---
>>  drivers/usb/host/usb-uclass.c | 33 ++++++++++++++++++++++++++++-----
>>  include/usb.h                 |  3 +++
>>  2 files changed, 31 insertions(+), 5 deletions(-)
>
> Acked-by: Simon Glass <sjg at chromium.org>

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list