Message ID | 20190625132526.18749-1-sean@mess.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [v4l-utils] ir-ctl: increase limit to match kernel | expand |
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;
This changed in kernel v5.3. In earlier versions, EINVAL will be returned. Signed-off-by: Sean Young <sean@mess.org> --- utils/ir-ctl/ir-ctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)