summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2010-04-04 13:44:51 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-19 15:56:57 (GMT)
commit587835a4b0ada7d78c4f3300e3ab26b7b2495705 (patch)
treead22f6a0e603f19450227b0cb260b5bb5960dfd5 /include
parent26d5683d36729f11f5764909ae37c69488596d36 (diff)
downloadlinux-fsl-qoriq-587835a4b0ada7d78c4f3300e3ab26b7b2495705.tar.xz
V4L-DVB: ir-core: remove the ancillary buffer
Now that the decoders are state machine, there's no need to create an ancillary buffer while decoding the protocol. Just call the decoders code directly, event by event. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/media/ir-core.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/media/ir-core.h b/include/media/ir-core.h
index 4090073..1c1e8d9 100644
--- a/include/media/ir-core.h
+++ b/include/media/ir-core.h
@@ -101,8 +101,7 @@ struct ir_raw_handler {
struct list_head list;
int (*decode)(struct input_dev *input_dev,
- struct ir_raw_event *evs,
- int len);
+ struct ir_raw_event *ev);
int (*raw_register)(struct input_dev *input_dev);
int (*raw_unregister)(struct input_dev *input_dev);
};