Thread (2 messages) 2 messages, 2 authors, 2005-12-02

Re: Can I operate i2c device in a tasklet?

flat view

From: Eugene Surovegin <hidden>
Date: 2005-12-02 08:45:43

On Fri, Dec 02, 2005 at 02:20:07PM +0800, Sam Song wrote:
Hi all,

I found that once I operated i2c bus like 
read from i2c device in 2.4.31 kernl in a
interrupt handler or tasklet, kernel panic
would happen. Is there any way to make it
in such case? I need to write sth on RTC
alarm register with an interrupt event.

......
Scheduling in interrupt
kernel BUG at sched.c:564!
You cannot access i2c layer from non-process context. Please, search 
mail list archives, this matter was discussed countless number of 
times.

-- 
Eugene
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help