1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 08:42:12 +02:00
Files
u-boot-megous/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
..
2016-06-24 17:23:04 -04:00
2016-02-06 12:00:59 +01:00
2016-03-22 12:16:08 -04:00
2016-03-14 15:34:50 -06:00
2016-05-27 10:01:06 -04:00
2016-05-02 18:37:09 -04:00
2016-04-18 17:11:36 -04:00
2016-06-12 13:14:57 -04:00
2016-02-22 16:21:12 +01:00
2016-02-06 12:00:59 +01:00
2016-03-22 12:16:13 -04:00
2016-06-19 19:25:12 -05:00
2016-04-18 12:29:14 -04:00
2016-02-06 12:00:59 +01:00
2016-03-27 09:12:55 -04:00
2016-02-06 12:00:59 +01:00
2016-02-26 08:53:10 -07:00
2016-06-09 13:53:11 -04:00