linux: remove some not needed patches

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-10-15 00:59:51 +02:00
parent efef406e4c
commit 27b191ad50
2 changed files with 0 additions and 35 deletions

View File

@ -1,15 +0,0 @@
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);
}

View File

@ -1,20 +0,0 @@
X-Git-Url: http://git.linuxtv.org/media_tree.git?a=blobdiff_plain;f=drivers%2Fmedia%2FIR%2Fir-keytable.c;h=d00ef194f2e812daf26d11b13b82396ad196b8fd;hp=7e82a9df726b51ab6d90f00fc1b1fa22998c8862;hb=c9889354c6d36d6278ed851c74ace02d72efdd59;hpb=14a8e125f5713757e5e5f2911136033ed8bd5408
diff --git a/drivers/media/IR/ir-keytable.c b/drivers/media/IR/ir-keytable.c
index 7e82a9d..d00ef19 100644
--- a/drivers/media/IR/ir-keytable.c
+++ b/drivers/media/IR/ir-keytable.c
@@ -510,6 +510,13 @@ int __ir_input_register(struct input_dev *input_dev,
(ir_dev->props && ir_dev->props->driver_type == RC_DRIVER_IR_RAW) ?
" in raw mode" : "");
+ /*
+ * Default delay of 250ms is too short for some protocols, expecially
+ * since the timeout is currently set to 250ms. Increase it to 500ms,
+ * to avoid wrong repetition of the keycodes.
+ */
+ input_dev->rep[REP_DELAY] = 500;
+
return 0;
out_event: