]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: usb: Do not use bus->seq before device_probe(bus)
authorHans de Goede <hdegoede@redhat.com>
Mon, 4 May 2015 19:33:26 +0000 (21:33 +0200)
committerSimon Glass <sjg@chromium.org>
Wed, 6 May 2015 02:58:41 +0000 (20:58 -0600)
commit134692af138243fca1037fc737651281701a9ab3
tree1254c1b0306e1e78a8e1ec2c002ffcf30fbe8ac2
parent76382aa2ce811d4bb53f8c617590fb36681ce169
dm: usb: Do not use bus->seq before device_probe(bus)

Do not use bus->seq before device_probe(bus), as bus->seq is not set until
after the device_probe() call. This fixes u-boot printing: "USB-1:   " for
each bus it scans.

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