On Mon, Sep 06, 2010 at 09:26:06PM -0000, Maxim Levitsky wrote: > Unfortunelly (my fault) the kernel thread that now handles IR processing > has classical races in regard to wakeup and stop. > This patch hopefully closes them all. > Tested with module reload running in a loop, while receiver is blasted > with IR data for 10 minutes. > > Signed-off-by: Maxim Levitsky <maximlevitsky@xxxxxxxxx> Carrying over ack from earlier(?) version of the patch: Took a while to unwind everything in ir_raw_event_thread() in my head, but now that I think I have it sorted out, yeah, that looks like the processing logic all remains the same, with the addition of locking that should prevent the race (also heavily supported by your testing). Acked-by: Jarod Wilson <jarod@xxxxxxxxxx> -- Jarod Wilson jarod@xxxxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html