Explorar o código

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>
Rodolfo Giometti %!s(int64=18) %!d(string=hai) anos
pai
achega
9a1d00fa47
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      drivers/isp116x-hcd.c

+ 1 - 0
drivers/isp116x-hcd.c

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