Ivo Manca wrote: 
> I'm not an expert, but I think this is the right way to use it.
> The interupt handler i801_isr catches the interrupt, saves the status 
> to algo_data and calls wake_up_interruptable. This will wake up the wait.
>
> I'm not sure whether this is the correct way or not. Any input from an 
> interrupt expert is very much welcome.
> I did test it without the event_interruptable, which produces 
> nonsense, like:
>
> bla bla
>
Ugh, sorry, please discard this comment since it's utter nonsense ;). 
Reading wait.h cleared things up for me. I shouldn't indeed use the 
interruptible function.
The errors were due to a coding mistake from my side.

Ivo

_______________________________________________
i2c mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/i2c

Reply via email to