]> asedeno.scripts.mit.edu Git - linux.git/commit
media: rc: self test for IR encoders and decoders
authorSean Young <sean@mess.org>
Tue, 16 Oct 2018 14:09:31 +0000 (15:09 +0100)
committerShuah Khan <shuah@kernel.org>
Tue, 6 Nov 2018 16:27:17 +0000 (09:27 -0700)
commite55c884ea5c66a29a713d41ed0819fee8038762b
tree4be86e1cfc950aba03dade75746c4cc00c56a91c
parent651022382c7f8da46cb4872a545ee1da6d097d2a
media: rc: self test for IR encoders and decoders

ir-loopback can transmit IR on one rc device and check the correct
scancode and protocol is decoded on a different rc device. This can be
used to check IR transmission between two rc devices. Using rc-loopback,
we use it to check the IR encoders and decoders themselves.

No hardware is required for this test.

Signed-off-by: Sean Young <sean@mess.org>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Shuah Khan <shuah@kernel.org>
tools/testing/selftests/Makefile
tools/testing/selftests/ir/.gitignore [new file with mode: 0644]
tools/testing/selftests/ir/Makefile [new file with mode: 0644]
tools/testing/selftests/ir/ir_loopback.c [new file with mode: 0644]
tools/testing/selftests/ir/ir_loopback.sh [new file with mode: 0755]