Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 25144
b: refs/heads/master
c: 4263fa8
h: refs/heads/master
v: v3
  • Loading branch information
Mike Isely authored and Mauro Carvalho Chehab committed Apr 2, 2006
1 parent 5ac157c commit d1e98a0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: dbcb86ed945e42e99884e7afaab2f326a2aff2ec
refs/heads/master: 4263fa8ca6d9f387ce0d005e861f7e945c741e6e
12 changes: 11 additions & 1 deletion trunk/drivers/media/video/cx25840/cx25840-firmware.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,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

#define FWDEV(x) &((x)->adapter->dev)

Expand Down

0 comments on commit d1e98a0

Please sign in to comment.