[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070830173232.270c6f70@hyperion.delvare>
Date: Thu, 30 Aug 2007 17:32:32 +0200
From: Jean Delvare <khali@...ux-fr.org>
To: "Francis Moreau" <francis.moro@...il.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: i2c transfers during interrupt context
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists