
7 Dec
2018
7 Dec
'18
12:48 p.m.
On 12/07/2018 09:56 AM, Alex Kiernan wrote: [...]
+++ b/drivers/usb/musb-new/musb_uboot.c @@ -214,7 +214,7 @@ int musb_lowlevel_init(struct musb_host_data *host) { void *mbase; /* USB spec says it may take up to 1 second for a device to connect */
- unsigned long timeout = get_timer(0) + 1000;
- unsigned long timeout = get_timer(0) + CONFIG_USB_MUSB_INIT_TIMEOUT;
Isn't this the same as usb_pgood_delay ?
int ret;
if (!host->host) {
--
Best regards,
Marek Vasut