diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-03-24 19:47:53 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-05-17 23:52:59 -0400 |
commit | 995187bed30c0545e8da88372e9807da0a85911e (patch) | |
tree | e3e28eff10f8f01f1bfd7ff865a29076bf6700dc /drivers/media/IR/Kconfig | |
parent | 9f1547829a6f39fe6b2da22653dff40502f3d568 (diff) |
V4L/DVB: ir-core: dynamically load the compiled IR protocols
Instead of hardcoding the protocols into ir-core, add a register interface
for the IR protocol decoders, and convert ir-nec-decoder into a client of
ir-core.
With this approach, it is possible to dynamically load the needed IR protocols,
and to add a RAW IR interface module, registered as one IR raw protocol decoder.
This patch opens a way to register a lirc_dev interface to work as an userspace
IR protocol decoder.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/IR/Kconfig')
-rw-r--r-- | drivers/media/IR/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/media/IR/Kconfig b/drivers/media/IR/Kconfig index 4dde7d180a32..de410d46ae26 100644 --- a/drivers/media/IR/Kconfig +++ b/drivers/media/IR/Kconfig | |||
@@ -7,3 +7,12 @@ config VIDEO_IR | |||
7 | tristate | 7 | tristate |
8 | depends on IR_CORE | 8 | depends on IR_CORE |
9 | default IR_CORE | 9 | default IR_CORE |
10 | |||
11 | config IR_NEC_DECODER | ||
12 | tristate "Enable IR raw decoder for NEC protocol" | ||
13 | depends on IR_CORE | ||
14 | default y | ||
15 | |||
16 | ---help--- | ||
17 | Enable this option if you have IR with NEC protocol, and | ||
18 | if the IR is decoded in software | ||