summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx25840
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-03-27 11:00:40 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-03-27 11:00:40 -0300
commit4eebc35e388d275870454a6d509fefd629e98d98 (patch)
tree3deb2eadb129c37dc3d5e97178158b078ec1a6b5 /linux/drivers/media/video/cx25840
parent8b3ea3121de2ffb49fa878bf4307dce49d74bd81 (diff)
parent2fc29f23f48a916f556d40ce8498ed27a0b1f0fc (diff)
downloadmediapointer-dvb-s2-4eebc35e388d275870454a6d509fefd629e98d98.tar.gz
mediapointer-dvb-s2-4eebc35e388d275870454a6d509fefd629e98d98.tar.bz2
Merge from http://linuxtv.org/hg/~mcisely/v4l-dvb
From: Mauro Carvalho Chehab <mchehab@infradead.org> merge: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/cx25840')
-rw-r--r--linux/drivers/media/video/cx25840/cx25840-firmware.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/linux/drivers/media/video/cx25840/cx25840-firmware.c b/linux/drivers/media/video/cx25840/cx25840-firmware.c
index 96a45a4be..539de43dd 100644
--- a/linux/drivers/media/video/cx25840/cx25840-firmware.c
+++ b/linux/drivers/media/video/cx25840/cx25840-firmware.c
@@ -26,7 +26,17 @@
#include "cx25840-core.h"
#define FWFILE "v4l-cx25840.fw"
-#define FWSEND 1024
+
+/*
+ * Mike Isely <isely@pobox.com> - The FWSEND parameter controls the
+ * size of the firmware chunks sent down the I2C bus to the chip.
+ * Previously this had been set to 1024 but unfortunately some I2C
+ * implementations can't transfer data in such big gulps.
+ * Specifically, the pvrusb2 driver has a hard limit of around 60
+ * bytes, due to the encapsulation there of I2C traffic into USB
+ * messages. So we have to significantly reduce this parameter.
+ */
+#define FWSEND 48
#if LINUX_VERSION_CODE > KERNEL_VERSION(2,5,0)
#define FWDEV(x) &((x)->adapter->dev)