diff options
author | David Härdeman <david@hardeman.nu> | 2010-04-15 18:46:05 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-05-19 12:57:43 -0300 |
commit | bf670f641d478fa5a2dd60ed41bab3156cc780c0 (patch) | |
tree | fe3c9ef6531956d5904addb9e825254938b13810 /drivers/media/IR/ir-sysfs.c | |
parent | 384f23e8c9b189888d6d8c84ae5ebd23b074a0b6 (diff) |
V4L/DVB: ir-core: Add JVC support to ir-core
This patch adds a JVC decoder 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.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/IR/ir-sysfs.c b/drivers/media/IR/ir-sysfs.c index ceec980552a..3ec760a9806 100644 --- a/drivers/media/IR/ir-sysfs.c +++ b/drivers/media/IR/ir-sysfs.c @@ -63,6 +63,8 @@ static ssize_t show_protocol(struct device *d, s = "nec"; else if (ir_type == IR_TYPE_RC6) s = "rc6"; + else if (ir_type == IR_TYPE_JVC) + s = "jvc"; else s = "other"; @@ -100,6 +102,8 @@ static ssize_t store_protocol(struct device *d, ir_type |= IR_TYPE_PD; if (!strcasecmp(buf, "nec")) ir_type |= IR_TYPE_NEC; + if (!strcasecmp(buf, "jvc")) + ir_type |= IR_TYPE_JVC; } if (!ir_type) { |