From bf670f641d478fa5a2dd60ed41bab3156cc780c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20H=C3=A4rdeman?= Date: Thu, 15 Apr 2010 18:46:05 -0300 Subject: V4L/DVB: ir-core: Add JVC support to ir-core MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch adds a JVC decoder to ir-core. Signed-off-by: David Härdeman Signed-off-by: Mauro Carvalho Chehab --- drivers/media/IR/ir-sysfs.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'drivers/media/IR/ir-sysfs.c') diff --git a/drivers/media/IR/ir-sysfs.c b/drivers/media/IR/ir-sysfs.c index ceec980..3ec760a 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) { -- cgit v1.1