summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorSuneel Garapati <[email protected]>2017-10-23 17:28:40 -0700
committerMarek Vasut <[email protected]>2017-11-26 02:22:36 +0100
commitabd7cedb19ab7979467734b3933a39879bd8935a (patch)
treed05f280eb69d50e7f19412ad28da77fefc53ce49 /include/linux
parent93a51d301ad051ec6f8c6016862c7719b8b434d3 (diff)
cmd: usb: ignore blk, emulation devices in usb tree/info display
Usb tree/info commands iterate over all usb uclass devices recursively. Blk uclass devices based on struct blk_desc are created for mass storage device, treating them as usb uclass devices based on struct usb_device and referencing usb config interface descriptors cause crash. To fix, ignore blk and usb_emul uclass devices in usb_show_info and usb_tree_graph. Also avoid addition of preamble for blk uclass child devices, otherwise tree dump gets messed up. Signed-off-by: Suneel Garapati <[email protected]> Reviewed-by: Bin Meng <[email protected]> Tested-by: Bin Meng <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions