Browse Source

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 năm trước cách đây
mục cha
commit
9a1d00fa47
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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;
 	}