]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
[media] redrat3: increase set size for lengths to maximum
authorSean Young <sean@mess.org>
Mon, 31 Oct 2016 17:52:24 +0000 (15:52 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 21 Nov 2016 14:31:54 +0000 (12:31 -0200)
In learning mode, you can get much longer messages which can run out
of lengths. The usb message will slightly larger.

Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/rc/redrat3.c

index 33fa1951733c5274b833e3ac3d6382fdd35a44b5..2784f5dae398ee9483a36cdeec5217a9a1f6fcc7 100644 (file)
 #define RR3_NARROW_IN_EP_ADDR  0x82
 
 /* Size of the fixed-length portion of the signal */
-#define RR3_DRIVER_MAXLENS     128
+#define RR3_DRIVER_MAXLENS     255
 #define RR3_MAX_SIG_SIZE       512
 #define RR3_TIME_UNIT          50
 #define RR3_END_OF_SIGNAL      0x7f