Skip to content

Commit

Permalink
V4L/DVB: ir-core: be less pedantic with RC protocol name
Browse files Browse the repository at this point in the history
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Mauro Carvalho Chehab committed May 18, 2010
1 parent ed3de60 commit ecf6e72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/IR/ir-sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ecf6e72

Please sign in to comment.