summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2016-07-03 18:22:05 (GMT)
committerMarek Vasut <marex@denx.de>2016-07-05 12:14:11 (GMT)
commite6e188f5623e3db7fcba785f4246d16425dd2104 (patch)
tree88f6e27f6879e9f487984fa02efad750bb274cf3 /scripts
parent2138fd6d5d358bcfef6631300763c16a70f2af3d (diff)
downloadu-boot-fsl-qoriq-e6e188f5623e3db7fcba785f4246d16425dd2104.tar.xz
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions