From: Sean Young Date: Fri, 9 Aug 2019 22:02:59 +0000 (-0300) Subject: media: selftests: ir: fix ir_loopback test failure X-Git-Tag: v5.4-rc1~145^2~110 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f1409116835a8ae7cd924e2829772c470eb6cba4;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Sean Young Signed-off-by: Mauro Carvalho Chehab --- diff --git a/tools/testing/selftests/ir/ir_loopback.c b/tools/testing/selftests/ir/ir_loopback.c index e700e09e3682b..af7f9c7d59bc2 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)