From: Andreas Baierl <[email protected]>

Holding down a key on the remote control is not recognized 
by the sunxi_ir driver as a repeated key press.
This commit fixed that issue.

Signed-off-by: Andreas Baierl <[email protected]>
---
 drivers/input/keyboard/sunxi-ir.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/input/keyboard/sunxi-ir.c 
b/drivers/input/keyboard/sunxi-ir.c
index 8b3c5f3..ea08303 100644
--- a/drivers/input/keyboard/sunxi-ir.c
+++ b/drivers/input/keyboard/sunxi-ir.c
@@ -69,6 +69,8 @@ static u32 ir_gpio_hdle;
 #define dprintk(level, fmt, arg...)
 #endif
 
+#define REPORT_REPEAT_KEY_VALUE /* Enables repeated key presses */
+
 /* Registers */
 #define IR_REG(x)      (x)
 #define IR0_BASE       (0xf1c21800)
-- 
2.1.1

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to