aboutsummaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2010-04-04 09:44:51 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-19 11:56:57 -0400
commit587835a4b0ada7d78c4f3300e3ab26b7b2495705 (patch)
treead22f6a0e603f19450227b0cb260b5bb5960dfd5 /include/media
parent26d5683d36729f11f5764909ae37c69488596d36 (diff)
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/media')
-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 40900739cb84..1c1e8d9bd10a 100644
--- a/include/media/ir-core.h
+++ b/include/media/ir-core.h
@@ -101,8 +101,7 @@ struct ir_raw_handler {
101 struct list_head list; 101 struct list_head list;
102 102
103 int (*decode)(struct input_dev *input_dev, 103 int (*decode)(struct input_dev *input_dev,
104 struct ir_raw_event *evs, 104 struct ir_raw_event *ev);
105 int len);
106 int (*raw_register)(struct input_dev *input_dev); 105 int (*raw_register)(struct input_dev *input_dev);
107 int (*raw_unregister)(struct input_dev *input_dev); 106 int (*raw_unregister)(struct input_dev *input_dev);
108}; 107};