]> git.ipfire.org Git - thirdparty/linux.git/commit
selftests/bpf: Fix test_lirc test
authorSean Young <sean@mess.org>
Fri, 5 Jun 2026 15:14:16 +0000 (16:14 +0100)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 5 Jun 2026 22:56:57 +0000 (15:56 -0700)
commitd5e5745f8a1dfd0d026fe36eb1265268bce4988c
treea7a53370d23dfc5bc45f26d018cdd89ac9b94883
parent39a23eee83f694da1e35a33e12c1fd0930330fd6
selftests/bpf: Fix test_lirc test

Since commit 68a99f6a0ebf ("media: lirc: report ir receiver overflow"),
the rc-loopback driver does not accept edges over 50ms, as these are
never seen in real life ir protocols. Fix this.

Signed-off-by: Sean Young <sean@mess.org>
Link: https://lore.kernel.org/r/20260605151417.777614-1-sean@mess.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/progs/test_lirc_mode2_kern.c
tools/testing/selftests/bpf/test_lirc_mode2_user.c