Jelajahi Sumber

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 tahun lalu
induk
melakukan
9a1d00fa47
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  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;
 	}