Skip to contentSkip to conversation

ISP116x: delay for crappy USB keys.

PATCH New Rodolfo Giometti 1 participant 1 message Apr 24, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ISP116x: delay for crappy USB keys.

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.

---

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