]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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 d57b8ece2e72df707363e785e3d57844fa2159f6..8e2bc7adcc9814b4516a03325908ae3c265f0bd6 100644 (file)
@@ -550,6 +550,7 @@ static int isp116x_interrupt(struct isp116x *isp116x)
 
        if (irqstat & HCuPINT_ATL) {
                DBG(">>>>>> HCuPINT_ATL <<<<<<");
+               udelay(500);
                ret = 1;
        }