Re: [PATCH 4/8] IR: fix keys beeing stuck down forever.

2010-09-08 Thread Jarod Wilson
On Mon, Sep 6, 2010 at 5:26 PM, Maxim Levitsky wrote: > The logic in ir_timer_keyup was inverted. > > In case that values aren't equal, > the meaning of the time_is_after_eq_jiffies(ir->keyup_jiffies) is that > ir->keyup_jiffies is after the the jiffies or equally that > that jiffies are before th

[PATCH 4/8] IR: fix keys beeing stuck down forever.

2010-09-06 Thread Maxim Levitsky
The logic in ir_timer_keyup was inverted. In case that values aren't equal, the meaning of the time_is_after_eq_jiffies(ir->keyup_jiffies) is that ir->keyup_jiffies is after the the jiffies or equally that that jiffies are before the the ir->keyup_jiffies which is exactly the situation we want to