projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed3de60
)
V4L/DVB: ir-core: be less pedantic with RC protocol name
author
Mauro Carvalho Chehab
<mchehab@redhat.com>
Sat, 20 Mar 2010 03:17:58 +0000
(
00:17
-0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Tue, 18 May 2010 03:52:53 +0000
(
00:52
-0300)
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/IR/ir-sysfs.c
patch
|
blob
|
history
diff --git
a/drivers/media/IR/ir-sysfs.c
b/drivers/media/IR/ir-sysfs.c
index
0592515
..
253e669
100644
(file)
--- 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,
buf = strsep((char **) &data, "\n");
- if (!strcasecmp(buf, "rc-5"))
+ if (!strcasecmp(buf, "rc-5")
|| !strcasecmp(buf, "rc5")
)
ir_type = IR_TYPE_RC5;
else if (!strcasecmp(buf, "pd"))
ir_type = IR_TYPE_PD;