Pārlūkot izejas kodu

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 18 gadi atpakaļ
vecāks
revīzija
9a1d00fa47
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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;
 	}