Commit ecf6e72d authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

V4L/DVB: ir-core: be less pedantic with RC protocol name

parent ed3de601
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;