public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Rodolfo Giometti <giometti@enneenne.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH] ISP116x: delay for crappy USB keys.
Date: Tue, 24 Apr 2007 15:40:10 +0200	[thread overview]
Message-ID: <20070424134010.GH9973@enneenne.com> (raw)

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>

---

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;
        }

                 reply	other threads:[~2007-04-24 13:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070424134010.GH9973@enneenne.com \
    --to=giometti@enneenne.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox