From: Jean Delvare <khali@linux-fr.org>
To: "Francis Moreau" <francis.moro@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: i2c transfers during interrupt context
Date: Thu, 30 Aug 2007 17:32:32 +0200 [thread overview]
Message-ID: <20070830173232.270c6f70@hyperion.delvare> (raw)
In-Reply-To: <38b2ab8a0708300655n7ae6a445y84150ab1bdcdf2d4@mail.gmail.com>
Bonjour Francis ;)
On Thu, 30 Aug 2007 15:55:49 +0200, Francis Moreau wrote:
> I have a very simple question about i2c transfers.
>
> I'm wondering if I'm allowed to initiate some very short i2c transfers
> in an interrupt handler.
Non. Tu n'as pas le droit de dormir dans un gestionnaire
d'interruption, et la majorité des pilotes I2C dorment pendant les
transferts.
Si tu as besoin de faire ce genre de chose il faut typiquement passer
par une workqueue.
--
Jean Delvare
next prev parent reply other threads:[~2007-08-30 15:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <38b2ab8a0708300311x5479effn5999ba118221a47f@mail.gmail.com>
2007-08-30 13:55 ` Francis Moreau
2007-08-30 15:32 ` Jean Delvare [this message]
2007-08-30 20:16 ` Francis Moreau
2007-08-30 20:47 ` Jean Delvare
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=20070830173232.270c6f70@hyperion.delvare \
--to=khali@linux-fr.org \
--cc=francis.moro@gmail.com \
--cc=linux-kernel@vger.kernel.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
Powered by JetHome