[U-Boot] [PATCH 1/4] usb: ohci: Re-enable commented out delay

Marek Vasut marex at denx.de
Mon Apr 29 08:25:15 UTC 2019


On 4/28/19 11:45 PM, Adam Ford wrote:
> There is a delay function that was commented out.  This patch
> re-enables it, because it will be needed for da850 ohci support.
> 
> Signed-off-by: Adam Ford <aford173 at gmail.com>
> 
> diff --git a/drivers/usb/host/ohci-hcd.c b/drivers/usb/host/ohci-hcd.c
> index 3b6f889f7b..2b0df88f49 100644
> --- a/drivers/usb/host/ohci-hcd.c
> +++ b/drivers/usb/host/ohci-hcd.c
> @@ -1545,10 +1545,8 @@ static int submit_common_msg(ohci_t *ohci, struct usb_device *dev,
>  		return -1;
>  	}
>  
> -#if 0
>  	mdelay(10);
>  	/* ohci_dump_status(ohci); */
> -#endif
>  
>  	timeout = USB_TIMEOUT_MS(pipe);
>  
> 
Applied, since this was probably broken since 2006.

-- 
Best regards,
Marek Vasut


More information about the U-Boot mailing list