aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Young <sean@mess.org>2019-06-25 14:20:50 +0100
committerSean Young <sean@mess.org>2019-06-27 21:54:41 +0100
commitb16f9e945d74aa552abdd6f873821cb77faaf13a (patch)
treed6cd3f05f8d1e0ddb8f26f4d8e1a2ab449c877d3
parent7adab961e6caadcc1e03de8e668c0f74116e1477 (diff)
ir-ctl: increase limit to match kernel
This changed in kernel v5.3. In earlier versions, EINVAL will be returned. Signed-off-by: Sean Young <sean@mess.org>
-rw-r--r--utils/ir-ctl/ir-ctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/ir-ctl/ir-ctl.c b/utils/ir-ctl/ir-ctl.c
index ad830612..03c2791d 100644
--- a/utils/ir-ctl/ir-ctl.c
+++ b/utils/ir-ctl/ir-ctl.c
@@ -53,8 +53,8 @@
__result; })
#endif
-/* See drivers/media/rc/ir-lirc-codec.c line 23 */
-#define LIRCBUF_SIZE 512
+/* See drivers/media/rc/lirc_dev.c line 22 */
+#define LIRCBUF_SIZE 1024
#define IR_DEFAULT_TIMEOUT 125000
const char *argp_program_version = "IR raw version " V4L_UTILS_VERSION;

Privacy Policy