lkml.org 
[lkml]   [2007]   [Aug]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-08-30 17:35    [W:0.038 / U:1.536 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site