ISP116x: delay for crappy USB keys
authorRodolfo Giometti <giometti@linux.it>
Wed, 6 Jun 2007 08:08:12 +0000 (10:08 +0200)
committerMarkus Klotzbuecher <mk@pollux.denx.de>
Wed, 6 Jun 2007 08:08:12 +0000 (10:08 +0200)
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>
drivers/isp116x-hcd.c

index d57b8ec..8e2bc7a 100644 (file)
@@ -550,6 +550,7 @@ static int isp116x_interrupt(struct isp116x *isp116x)
 
        if (irqstat & HCuPINT_ATL) {
                DBG(">>>>>> HCuPINT_ATL <<<<<<");
+               udelay(500);
                ret = 1;
        }