if (i2c_transfer(&ttusb->i2c_adap, &msg, 1) != 1) 
if (i2c_transfer(i2c, &msg, 1) != 1) 
static int philips_tsa5059_pll_set(struct dvb_frontend *fe, struct dvb_frontend_parameters *params){	struct ttusb* ttusb = (struct ttusb*) fe->dvb->priv;	u8 buf[4];	u32 div;	struct i2c_msg msg = {.addr = 0x61,.flags = 0,.buf = buf,.len = sizeof(buf) };	if ((params->frequency < 950000) || (params->frequency > 2150000))		return -EINVAL;	div = (params->frequency + (125 - 1)) / 125;	// round correctly	buf[0] = (div >> 8) & 0x7f;	buf[1] = div & 0xff;	buf[2] = 0x80 | ((div & 0x18000) >> 10) | 4;	buf[3] = 0xC4;	if (params->frequency > 1530000)		buf[3] = 0xC0;	/* BSBE1 wants XCE bit set */	if (ttusb->revision == TTUSB_REV_2_2)		buf[3] |= 0x20;	if (i2c_transfer(&ttusb->i2c_adap, &msg, 1) != 1)		return -EIO;	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/cfbfce1566f11c0dbad8a16173f0448b0c78cecb/dvb-ttusb-budget.c/clean/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c