浏览代码

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 年之前
父节点
当前提交
9a1d00fa47
共有 1 个文件被更改,包括 1 次插入0 次删除
  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;
 	}