Suneel Garapati abd7cedb19 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 <suneelglinux@gmail.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2017-11-26 02:22:36 +01:00
..
2017-02-08 15:56:28 -05:00
2017-04-12 13:28:27 -04:00
2017-08-16 08:30:24 -04:00
2017-07-03 17:35:28 -04:00
2017-08-16 08:30:24 -04:00
2017-08-16 08:30:24 -04:00
2016-09-09 15:53:14 -04:00
2017-06-16 10:11:42 -04:00
2016-05-02 18:37:09 -04:00
2017-10-16 09:42:51 -04:00
2017-08-16 08:30:24 -04:00
2016-04-18 17:11:36 -04:00
2017-01-20 09:15:24 -05:00
2017-03-28 06:27:54 +02:00
2017-08-16 08:30:24 -04:00
2017-08-16 08:30:24 -04:00
2017-08-16 08:30:24 -04:00
2017-02-08 15:56:28 -05:00
2017-08-16 08:30:24 -04:00
2017-08-16 08:30:24 -04:00
2017-11-15 10:54:06 -08:00
2017-08-16 08:30:24 -04:00
2017-10-16 09:42:51 -04:00
2016-01-25 10:39:43 -05:00
2017-08-16 08:30:24 -04:00
2017-10-16 09:42:51 -04:00
2016-10-06 20:57:42 -04:00
2017-08-16 08:22:18 -04:00
2017-08-11 15:41:51 -04:00
2017-06-12 08:37:55 -04:00
2017-08-16 08:30:24 -04:00
2017-08-16 08:30:24 -04:00
2017-08-16 08:30:24 -04:00
2016-03-27 09:12:55 -04:00
2017-09-12 10:08:05 +02:00
2017-08-16 08:30:24 -04:00