media: selftests: ir: fix ir_loopback test failure
authorSean Young <sean@mess.org>
Fri, 9 Aug 2019 22:02:59 +0000 (19:02 -0300)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 14 Aug 2019 08:06:25 +0000 (05:06 -0300)
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>
tools/testing/selftests/ir/ir_loopback.c

index e700e09..af7f9c7 100644 (file)
@@ -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)