Searched hist:e6e188f5 (Results 1 – 1 of 1) sorted by relevance
/openbmc/u-boot/cmd/ |
H A D | usb.c | e6e188f5 Sun Jul 03 13:22:05 CDT 2016 Hans de Goede <hdegoede@redhat.com> 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>
|