path: root/arch
diff options
authorHans de Goede <>2016-07-03 20:22:05 +0200
committerMarek Vasut <>2016-07-05 14:14:11 +0200
commite6e188f5623e3db7fcba785f4246d16425dd2104 (patch)
tree88f6e27f6879e9f487984fa02efad750bb274cf3 /arch
parent2138fd6d5d358bcfef6631300763c16a70f2af3d (diff)
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 <> Signed-off-by: Hans de Goede <>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud