From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rodolfo Giometti Date: Tue, 24 Apr 2007 15:40:10 +0200 Subject: [U-Boot-Users] [PATCH] ISP116x: delay for crappy USB keys. Message-ID: <20070424134010.GH9973@enneenne.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- diff --git a/drivers/isp116x-hcd.c b/drivers/isp116x-hcd.c index e546cfb..415a9d6 100644 --- a/drivers/isp116x-hcd.c +++ b/drivers/isp116x-hcd.c @@ -533,6 +533,7 @@ static int isp116x_interrupt(struct isp116x *isp116x) if (irqstat & HCuPINT_ATL) { DBG(">>>>>> HCuPINT_ATL <<<<<<"); + udelay(500); ret = 1; }