aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2010-03-19 23:17:58 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-17 23:52:53 -0400
commitecf6e72da31f951aed4618e422de62a72a1d76c6 (patch)
tree35ebd7416bae5d7e0ab16437b8335411b8143d2f /drivers
parented3de6015a920c131fbcc770fb95097fde592d86 (diff)
V4L/DVB: ir-core: be less pedantic with RC protocol name
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/IR/ir-sysfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/IR/ir-sysfs.c b/drivers/media/IR/ir-sysfs.c
index 0592515a19f8..253e66999f18 100644
--- a/drivers/media/IR/ir-sysfs.c
+++ b/drivers/media/IR/ir-sysfs.c
@@ -93,7 +93,7 @@ static ssize_t store_protocol(struct device *d,
93 93
94 buf = strsep((char **) &data, "\n"); 94 buf = strsep((char **) &data, "\n");
95 95
96 if (!strcasecmp(buf, "rc-5")) 96 if (!strcasecmp(buf, "rc-5") || !strcasecmp(buf, "rc5"))
97 ir_type = IR_TYPE_RC5; 97 ir_type = IR_TYPE_RC5;
98 else if (!strcasecmp(buf, "pd")) 98 else if (!strcasecmp(buf, "pd"))
99 ir_type = IR_TYPE_PD; 99 ir_type = IR_TYPE_PD;