diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-03-27 11:00:40 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-03-27 11:00:40 -0300 |
commit | 4eebc35e388d275870454a6d509fefd629e98d98 (patch) | |
tree | 3deb2eadb129c37dc3d5e97178158b078ec1a6b5 /linux/drivers/media/video/cx25840 | |
parent | 8b3ea3121de2ffb49fa878bf4307dce49d74bd81 (diff) | |
parent | 2fc29f23f48a916f556d40ce8498ed27a0b1f0fc (diff) | |
download | mediapointer-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.c | 12 |
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) |