summaryrefslogtreecommitdiffstats
path: root/drivers/media/IR/ir-sysfs.c
diff options
context:
space:
mode:
authorDavid Härdeman <david@hardeman.nu>2010-04-08 20:04:40 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-19 12:57:17 -0300
commit784a493168f71ce02b5f9eab0ec19df29b999631 (patch)
tree8e7e45dfbb6b4b9be8db010b84617ffdff9eafb9 /drivers/media/IR/ir-sysfs.c
parent25bb10c11e6cca461f09df8f59c2eb501a9e4d52 (diff)
V4L/DVB: Add RC6 support to ir-core
This patch adds an RC6 decoder (modes 0 and 6A) to ir-core. Signed-off-by: David Härdeman <david@hardeman.nu> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/IR/ir-sysfs.c')
-rw-r--r--drivers/media/IR/ir-sysfs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/IR/ir-sysfs.c b/drivers/media/IR/ir-sysfs.c
index 57f09c4ca9f..073b5c0dc65 100644
--- a/drivers/media/IR/ir-sysfs.c
+++ b/drivers/media/IR/ir-sysfs.c
@@ -61,6 +61,8 @@ static ssize_t show_protocol(struct device *d,
s = "pulse-distance";
else if (ir_type == IR_TYPE_NEC)
s = "nec";
+ else if (ir_type == IR_TYPE_RC6)
+ s = "rc6";
else
s = "other";