On 10/24/2017 02:28 AM, Suneel Garapati wrote:
> 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 <suneelgli...@gmail.com>
> Reviewed-by: Bin Meng <bmeng...@gmail.com>
> Tested-by: Bin Meng <bmeng...@gmail.com>
> Reviewed-by: Simon Glass <s...@chromium.org>

Applied, thanks.

-- 
Best regards,
Marek Vasut
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to