mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Arjan van de Ven <arjan@infradead.org>
To: Corey Minyard <minyard@acm.org>
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] I2C patch 5 - Add a non-blocking interface to the I2C core (again)
Date: Fri, 25 Feb 2005 15:36:07 +0100	[thread overview]
Message-ID: <1109342168.6290.59.camel@laptopd505.fenrus.org> (raw)
In-Reply-To: <421F35AB.2040305@acm.org>


> +/* Another note: This interface is extremely sensitive to timing and
> +   failure handling.  If you don't wait at least one jiffie after
> +   starting the transaction before checking things, you will screw it
> +   up.  If you don't wait a jiffie after the final check, you will
> +   screw it up.  If you screw it up by these manners or by abandoning
> +   an operation in progress, the I2C bus is likely stuck and won't
> +   work any more.  Gotta love this hardware. */

this sounds scary. Your "jiffie" in the comment, for which value of HZ
is that taken? Would you consider changing this to absolute time
instead?



  reply	other threads:[~2005-02-25 14:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-25 14:26 Corey Minyard
2005-02-25 14:36 ` Arjan van de Ven [this message]
2005-02-25 15:01   ` [PATCH] I2C patch 5 - Add a non-blocking interface to the I2C core (one more time) Corey Minyard

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=1109342168.6290.59.camel@laptopd505.fenrus.org \
    --to=arjan@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=minyard@acm.org \
    /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

all inboxes | Powered by JetHome®