u-boot-2016/cmd
Hans de Goede e6e188f562 usb: dm: Make "usb info" use usb_for_each_root_dev()
The old dm "usb info" implementation has several issues:

1) NULL pointer deref when a bus has no children
2) Not showing usb devices on busses without an emulated root-hub (otg host)
3) Attempting to show devices on inactive busses
4) "usb info" Would cause some hosts to get re-probed something which only
   "usb reset" should do

TL;DR: proper iterating over usb bus root devs is hard, use the helper
for it.

Reported-by: Bernhard Nortmann <bernhard.nortmann@web.de>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2016-07-05 14:14:11 +02:00
..
aes.c
ambapp.c
armflash.c
bdinfo.c
bedbug.c
blkcache.c
blob.c
bmp.c
boot.c
bootefi.c cmd: bootefi: cosmetic 2016-06-24 17:23:04 -04:00
bootldr.c
bootm.c common: image: minimal android image iminfo support 2016-06-24 17:23:07 -04:00
bootmenu.c
bootstage.c
cache.c
cbfs.c
clk.c
console.c
cplbinfo.c
cpu.c
cramfs.c
dataflash_mmc_mux.c
date.c
dcr.c
demo.c
dfu.c
diag.c
disk.c cmd: disk: Fix unused variable warning 2016-05-27 10:01:06 -04:00
display.c
dtt.c
echo.c
eeprom.c
efi.c
elf.c
ethsw.c
exit.c
ext2.c
ext4.c
fastboot.c
fat.c
fdc.c
fdt.c
fitupd.c
flash.c
fpga.c
fpgad.c
fs.c
fs_uuid.c
fuse.c
gettime.c
gpio.c
gpt.c cmd: gpt: add - partition size parsing 2016-06-12 13:14:57 -04:00
hash.c
help.c
host.c
i2c.c
ide.c
immap.c
ini.c
io.c
iotrace.c
irq.c
itest.c cmd: replace the cast of the memory access to a fixed bit type in itest 2016-05-27 10:01:07 -04:00
jffs2.c nand: Embed mtd_info in struct nand_chip 2016-06-03 20:27:48 -05:00
Kconfig hush: complete renaming CONFIG_SYS_HUSH_PARSER to CONFIG_HUSH_PARSER 2016-06-24 17:24:34 -04:00
ldrinfo.c
led.c
license.c
load.c
log.c
lzmadec.c
mac.c
Makefile hush: complete renaming CONFIG_SYS_HUSH_PARSER to CONFIG_HUSH_PARSER 2016-06-24 17:24:34 -04:00
md5sum.c
mdio.c
mem.c
mfsl.c
mii.c
misc.c
mmc.c mmc: Drop dead mmc code for non-generic MMC 2016-05-26 20:50:29 -06:00
mmc_spi.c
mp.c
mtdparts.c
nand.c nand: extend nand torture 2016-06-19 19:25:12 -05:00
net.c
nvedit.c
onenand.c
otp.c
part.c
pci.c
pcmcia.c
pmic.c
portio.c
pxe.c
qfw.c cmd: qfw: do not require default macros when building qfw command 2016-05-23 15:18:00 +08:00
read.c
reginfo.c
regulator.c
reiser.c
remoteproc.c
sata.c
scsi.c
setexpr.c
sf.c
sha1sum.c
softswitch.c
sound.c
source.c
spi.c
spibootldr.c
spl.c
strings.c
terminal.c
test.c
thordown.c
time.c
tpm.c
tpm_test.c
trace.c
tsi148.c
ubi.c ubi: add new ubi command "ubi detach" 2016-06-09 13:53:11 -04:00
ubifs.c
universe.c
unzip.c
usb.c usb: dm: Make "usb info" use usb_for_each_root_dev() 2016-07-05 14:14:11 +02:00
usb_mass_storage.c
version.c
ximg.c
yaffs2.c
zfs.c
zip.c