Re: i2c transfers during interrupt context

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux