Michael, Am Sonntag, 1. April 2012 schrieb Michael Büsch: > On Sun, 01 Apr 2012 15:29:07 +0300 > > Antti Palosaari <crope@xxxxxx> wrote: > > buf[1] = msg[0].addr << 1; > > Maybe you have given I2C address as a "8bit" format? > > Uhh, the address is leftshifted by one. > So I changed the i2c address from 0xC0 to 0x60. > > The i2c write seems to work now. At least it doesn't complain anymore > and it sorta seems to tune to the right frequency. > But i2c read may be broken. > I had to enable the commented read code, but it still fails to read > the VCO calibration value: > > [ 3101.940765] i2c i2c-8: Failed to read VCO calibration value (got 20) > > It doesn't run into this check on the other af903x driver. > So I suspect an i2c read issue here. I would first uncomment the i2c read functionality in Antti's driver! > > Attached: The patches. Cheers, Hans-Frieder Vogt e-mail: hfvogt <at> gmx .dot. net -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html