aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/ir
diff options
context:
space:
mode:
authorSean Young <sean@mess.org>2019-08-09 19:02:59 -0300
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-08-14 05:06:25 -0300
commitf1409116835a8ae7cd924e2829772c470eb6cba4 (patch)
tree4165a589004180a04bf204e75ac32556cc3858e6 /tools/testing/selftests/ir
parentmedia: imon_raw: prevent "nonsensical timing event of duration 0" (diff)
downloadwireguard-linux-f1409116835a8ae7cd924e2829772c470eb6cba4.tar.xz
wireguard-linux-f1409116835a8ae7cd924e2829772c470eb6cba4.zip
media: selftests: ir: fix ir_loopback test failure
The decoder is called rc-mm, not rcmm. This was renamed late in the cycle so this bug crept in. Acked-by: Shuah Khan <skhan@linuxfoundation.org> Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'tools/testing/selftests/ir')
-rw-r--r--tools/testing/selftests/ir/ir_loopback.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/testing/selftests/ir/ir_loopback.c b/tools/testing/selftests/ir/ir_loopback.c
index e700e09e3682..af7f9c7d59bc 100644
--- a/tools/testing/selftests/ir/ir_loopback.c
+++ b/tools/testing/selftests/ir/ir_loopback.c
@@ -54,9 +54,9 @@ static const struct {
{ RC_PROTO_RC6_MCE, "rc-6-mce", 0x00007fff, "rc-6" },
{ RC_PROTO_SHARP, "sharp", 0x1fff, "sharp" },
{ RC_PROTO_IMON, "imon", 0x7fffffff, "imon" },
- { RC_PROTO_RCMM12, "rcmm-12", 0x00000fff, "rcmm" },
- { RC_PROTO_RCMM24, "rcmm-24", 0x00ffffff, "rcmm" },
- { RC_PROTO_RCMM32, "rcmm-32", 0xffffffff, "rcmm" },
+ { RC_PROTO_RCMM12, "rcmm-12", 0x00000fff, "rc-mm" },
+ { RC_PROTO_RCMM24, "rcmm-24", 0x00ffffff, "rc-mm" },
+ { RC_PROTO_RCMM32, "rcmm-32", 0xffffffff, "rc-mm" },
};
int lirc_open(const char *rc)