[PATCH 4/4] usb: chipidea i.MX: add some delay after ulpi_setup
Sascha Hauer
s.hauer at pengutronix.de
Tue Jan 7 05:18:36 EST 2014
On the pcm038 the ULPI phy is found correctly, but after
a power cycle the attached devices are not found. Adding
some delay fixes this.
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
drivers/usb/imx/chipidea-imx.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/usb/imx/chipidea-imx.c b/drivers/usb/imx/chipidea-imx.c
index dfaf590..a7ad734 100644
--- a/drivers/usb/imx/chipidea-imx.c
+++ b/drivers/usb/imx/chipidea-imx.c
@@ -47,6 +47,7 @@ static int imx_chipidea_port_init(void *drvdata)
if (ret)
dev_err(ci->dev, "ULPI setup failed with %s\n",
strerror(-ret));
+ mdelay(20);
} else {
dev_err(ci->dev, "no ULPI support available\n");
ret = -ENODEV;
--
1.8.5.2
More information about the barebox
mailing list