diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-04-04 09:27:20 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-05-19 11:56:56 -0400 |
commit | db1423a6c79f66db2b1846614c13bde9c2db7ad2 (patch) | |
tree | e5d785694f2ee18deabb59267b19e160b0a96b50 /drivers/media/IR/ir-raw-event.c | |
parent | 67780d6a2347d03b640f22295f8df7f00fbc829f (diff) |
V4L-DVB: ir-rc5-decoder: Add a decoder for RC-5 IR protocol
This decoder is also based on a state machine, just like the NEC protocol
decoder. It is pedantic in the sense that accepts only 14 bits. As there
are some variants that outputs less bits, it needs to be improved to also
handle those.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/IR/ir-raw-event.c')
-rw-r--r-- | drivers/media/IR/ir-raw-event.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/IR/ir-raw-event.c b/drivers/media/IR/ir-raw-event.c index 59f20541b03e..617e437e2beb 100644 --- a/drivers/media/IR/ir-raw-event.c +++ b/drivers/media/IR/ir-raw-event.c | |||
@@ -200,6 +200,7 @@ static void init_decoders(struct work_struct *work) | |||
200 | /* Load the decoder modules */ | 200 | /* Load the decoder modules */ |
201 | 201 | ||
202 | load_nec_decode(); | 202 | load_nec_decode(); |
203 | load_rc5_decode(); | ||
203 | 204 | ||
204 | /* If needed, we may later add some init code. In this case, | 205 | /* If needed, we may later add some init code. In this case, |
205 | it is needed to change the CONFIG_MODULE test at ir-core.h | 206 | it is needed to change the CONFIG_MODULE test at ir-core.h |