[U-Boot] [PATCH 1/2] USB: Make non-bulk delay longer in OHCI

Remy Bohmer linux at bohmer.net
Sat Oct 9 09:27:42 CEST 2010


Hi,

2010/9/20 Marek Vasut <marek.vasut at gmail.com>:
> This fixes TIMEOUT with my Kingston 32GB USB3.0 flashdrive, which I experienced
> on my PXA270 (USB 1.1) Vpac270 board.
>
> Signed-off-by: Marek Vasut <marek.vasut at gmail.com>
> ---
>  drivers/usb/host/ohci-hcd.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/usb/host/ohci-hcd.c b/drivers/usb/host/ohci-hcd.c
> index 3f76c4e..d246978 100644
> --- a/drivers/usb/host/ohci-hcd.c
> +++ b/drivers/usb/host/ohci-hcd.c
> @@ -1529,7 +1529,7 @@ int submit_common_msg(struct usb_device *dev, unsigned long pipe, void *buffer,
>        if (usb_pipebulk(pipe))
>                timeout = BULK_TO;
>        else
> -               timeout = 100;
> +               timeout = 1000;
>
>        /* wait for it to complete */
>        for (;;) {

No problem to increase this default timeout.
So, applied to u-boot-usb.

Thanks.

Remy


More information about the U-Boot mailing list