mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
linuc: add patch to fix suck down keys on IR (will be included in 2.6.37)
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
0ad13fc8a1
commit
bc2cab80f6
@ -0,0 +1,15 @@
|
|||||||
|
X-Git-Url: http://git.linuxtv.org/media_tree.git?a=blobdiff_plain;f=drivers%2Fmedia%2FIR%2Fir-keytable.c;h=7961d59f5cace91b18fc6a67fef4caea09f08265;hp=d00ef194f2e812daf26d11b13b82396ad196b8fd;hb=e081b5aead012579740501220624cafc35f22510;hpb=30e18408adbdd840756fea541245b833dc764196
|
||||||
|
|
||||||
|
diff --git a/drivers/media/IR/ir-keytable.c b/drivers/media/IR/ir-keytable.c
|
||||||
|
index d00ef19..7961d59 100644
|
||||||
|
--- a/drivers/media/IR/ir-keytable.c
|
||||||
|
+++ b/drivers/media/IR/ir-keytable.c
|
||||||
|
@@ -319,7 +319,7 @@ static void ir_timer_keyup(unsigned long cookie)
|
||||||
|
* a keyup event might follow immediately after the keydown.
|
||||||
|
*/
|
||||||
|
spin_lock_irqsave(&ir->keylock, flags);
|
||||||
|
- if (time_is_after_eq_jiffies(ir->keyup_jiffies))
|
||||||
|
+ if (time_is_before_eq_jiffies(ir->keyup_jiffies))
|
||||||
|
ir_keyup(ir);
|
||||||
|
spin_unlock_irqrestore(&ir->keylock, flags);
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user