summaryrefslogtreecommitdiffstats
path: root/drivers/media/IR/ir-core-priv.h
diff options
context:
space:
mode:
authorMaxim Levitsky2010-07-31 16:59:20 +0200
committerMauro Carvalho Chehab2010-08-09 04:42:59 +0200
commit86ff071cad3e7e4c7469b3941bfced6fe9b04b5f (patch)
tree9a1a455f6fbc7f5d433faaad7d8abab67602ec6f /drivers/media/IR/ir-core-priv.h
parentV4L/DVB: IR: nec decoder: fix repeat (diff)
downloadkernel-qcow2-linux-86ff071cad3e7e4c7469b3941bfced6fe9b04b5f.tar.gz
kernel-qcow2-linux-86ff071cad3e7e4c7469b3941bfced6fe9b04b5f.tar.xz
kernel-qcow2-linux-86ff071cad3e7e4c7469b3941bfced6fe9b04b5f.zip
V4L/DVB: IR: NECX: support repeat
This adds support for repeat detecting for NECX variant Tested with uneversal remote Signed-off-by: Maxim Levitsky <maximlevitsky@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/IR/ir-core-priv.h')
-rw-r--r--drivers/media/IR/ir-core-priv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/IR/ir-core-priv.h b/drivers/media/IR/ir-core-priv.h
index 84c7a9a5cad4..502d477b391c 100644
--- a/drivers/media/IR/ir-core-priv.h
+++ b/drivers/media/IR/ir-core-priv.h
@@ -45,6 +45,8 @@ struct ir_raw_event_ctrl {
int state;
unsigned count;
u32 bits;
+ bool is_nec_x;
+ bool necx_repeat;
} nec;
struct rc5_dec {
int state;