[U-Boot-Users] [PATCH] ISP116x: delay for crappy USB keys.

Rodolfo Giometti giometti at enneenne.com
Tue Apr 24 15:40:10 CEST 2007


ISP116x: delay for crappy USB keys.

Using some (very) slow USB keys cause the USB host controller buffers
are not ready to be read by the CPU so we need an extra delay before
reading the USB storage data.
    
Signed-off-by: Rodolfo Giometti <giometti at linux.it>

---

diff --git a/drivers/isp116x-hcd.c b/drivers/isp116x-hcd.c
index e546cfb..415a9d6 100644
--- a/drivers/isp116x-hcd.c
+++ b/drivers/isp116x-hcd.c
@@ -533,6 +533,7 @@ static int isp116x_interrupt(struct isp116x *isp116x)
 
        if (irqstat & HCuPINT_ATL) {
                DBG(">>>>>> HCuPINT_ATL <<<<<<");
+               udelay(500);
                ret = 1;
        }




More information about the U-Boot mailing list