[media] cxusb: increase buffer length to 80 bytes
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Mon, 30 Jun 2014 14:56:33 +0000 (11:56 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Wed, 23 Jul 2014 00:58:23 +0000 (21:58 -0300)
As reported by Vincent:
[   16.332247] xc2028 0-0061: Loading firmware for type=BASE F8MHZ (3), id 0000000000000000.
[   16.344378] cxusb: i2c wr: len=64 is too big!

64 bytes is too short for firmware load on this device. So, increase it
to 80 bytes.

Reported-by: Vincent McIntyre <vincent.mcintyre@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/usb/dvb-usb/cxusb.c

index b7461ac1ce741b26f3bd8b75d231199dd1c3951a..f379f7e1fcb07ab3617e47b6bf453b1c5a4d6722 100644 (file)
@@ -46,7 +46,7 @@
 #include "si2157.h"
 
 /* Max transfer size done by I2C transfer functions */
-#define MAX_XFER_SIZE  64
+#define MAX_XFER_SIZE  80
 
 /* debug */
 static int dvb_usb_cxusb_debug;