[PATCH v4l-utils] ir-ctl: increase limit to match kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Sean Young <sean@xxxxxxxx>
---
 utils/ir-ctl/ir-ctl.c | 4 ++--
 1 file 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;
-- 
2.11.0




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux