[U-Boot] [PATCH] USB storage probe
Remy Bohmer
linux at bohmer.net
Wed Mar 24 20:47:40 CET 2010
Hi,
2010/3/12 Kim B. Heino <Kim.Heino at bluegiga.com>:
> While debugging one ill behaving USB device I found two bugs in USB
> storage probe.
>
> usb_stor_get_info() returns -1 (error), 0 (skip) or 1 (ok). First part
> of this patch fixes error case.
>
> Second part fixes usb_inquiry()'s retry counter handling. Original code
> had retry = -1 on error case, not retry = 0 as checked in the next line.
>
>
> Signed-off-by: Kim B. Heino <Kim.Heino at bluegiga.com>
Applied to U-boot-usb
Thanks.
Remy
More information about the U-Boot
mailing list