public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] [PATCH] ISP116x: delay for crappy USB keys.
@ 2007-04-24 13:40 Rodolfo Giometti
  0 siblings, 0 replies; only message in thread
From: Rodolfo Giometti @ 2007-04-24 13:40 UTC (permalink / raw)
  To: u-boot

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@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;
        }

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2007-04-24 13:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-24 13:40 [U-Boot-Users] [PATCH] ISP116x: delay for crappy USB keys Rodolfo Giometti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox