Morten Rønseth wrote:
I've just tried that - seems like it's the cx25840 module that makes
anything above 0.3.5 fail. After I load 0.3.5, I unload everything
except the cx25840 module (ivtv, wm8775, tveeprom & tuner, in that
order - anything else I should know of?), then load 0.3.6q. It works.
Ok, so 0.3.5a fails too? If that's the case we can definitely
narrow down the problem. Try this patch against the current version to
see if you can use the current cx25840.
Index: cx25840-driver.c
===================================================================
--- cx25840-driver.c (revision 323)
+++ cx25840-driver.c (working copy)
@@ -427,6 +427,16 @@
CX25840_SET_PWR_DN_TUNING(pwr_dn);
}
#endif
+static int execute_wi2c(struct i2c_client *client, int addr, u8 * b,
+ int len)
+{
+ int save_addr = client->addr;
+ int retval;
+ client->addr = addr;
+ retval = i2c_master_send(client, b, len);
+ client->addr = save_addr;
+ return retval;
+}
static int cx25840_command(struct i2c_client *client, unsigned int cmd, void
*arg)
{
@@ -717,6 +727,10 @@
CX25840_SET_VID_OUT_EN(enable);
CX25840_SET_PLL_CLK_OUT_EN(enable);
+ {
+ u8 bytes[] = { 0x00, 0x16, 0x70, 0x4a };
+ execute_wi2c(client, 0x43, bytes, 4);
+ }
state->enable = enable;
break;