diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-03-20 04:17:58 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-05-18 05:52:53 +0200 |
commit | ecf6e72da31f951aed4618e422de62a72a1d76c6 (patch) | |
tree | 35ebd7416bae5d7e0ab16437b8335411b8143d2f /drivers/media/IR/ir-sysfs.c | |
parent | V4L/DVB: uvcvideo: Use POLLOUT and POLLWRNORM for output devices (diff) | |
download | linux-ecf6e72da31f951aed4618e422de62a72a1d76c6.tar.xz linux-ecf6e72da31f951aed4618e422de62a72a1d76c6.zip |
V4L/DVB: ir-core: be less pedantic with RC protocol name
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to '')
-rw-r--r-- | drivers/media/IR/ir-sysfs.c | 2 |
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, 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; |