]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
dm: usb: Do not scan companion buses if no devices where handed over
authorHans de Goede <hdegoede@redhat.com>
Sun, 10 May 2015 12:10:21 +0000 (14:10 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:39:38 +0000 (22:39 +0200)
commitb115477d9454047b5ec23656275be78238ebc723
treeea68e7429ba25eea523d70d3860172c4f2f58f1f
parent3664a6b69da22dce53d9e64cf053d337c2c07221
dm: usb: Do not scan companion buses if no devices where handed over

USB scanning is slow, and there is no need to scan the companion buses
if no usb devices where handed over to the companinon controllers by any
of the main controllers.

This saves e.g. 2 seconds when booting a A10 OLinuxIno Lime with no USB-1
devices plugged into the root usb ports.

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