Skip to contentSkip to conversation

ir-ctl: increase limit to match kernel

PATCH New Sean Young 1 participant 1 message Jun 25, 2019 Media (V4L/DVB)

lore
Share & tools
lore

Sean Young

author
#0 lore raw

PATCH 1/1 ir-ctl: increase limit to match kernel

This changed in kernel v5.3. In earlier versions, EINVAL will be returned.

---
 utils/ir-ctl/ir-ctl.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
utils/ir-ctl/ir-ctl.c +2 -2
index ad830612..03c2791d 100644
@@ -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;
Signature · 1 line
2.11.0