unsigned char write[1]; unsigned char read[1]; struct i2c_msg msgs[2] = { { chip->c.addr, 0,        1, write }, { chip->c.addr, I2C_M_RD, 1, read  } }; write[0] = subaddr; 
unsigned char write[1]; unsigned char read[1]; struct i2c_msg msgs[2] = { { chip->c.addr, 0,        1, write }, { chip->c.addr, I2C_M_RD, 1, read  } }; write[0] = subaddr; 
static int chip_read2(struct CHIPSTATE *chip, int subaddr){        unsigned char write[1];        unsigned char read[1];        struct i2c_msg msgs[2] = {                { chip->c.addr, 0,        1, write },                { chip->c.addr, I2C_M_RD, 1, read  }        };        write[0] = subaddr;	if (2 != i2c_transfer(chip->c.adapter,msgs,2)) {		printk(KERN_WARNING "%s: I/O error (read2)\n", chip->c.name);		return -1;	}	dprintk("%s: chip_read2: reg%d=0x%x\n",		chip->c.name, subaddr, read[0]);	return read[0];}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/18fc59e230bbda9725736f8f526ef88aab212348/tvaudio.c/clean/drivers/media/video/tvaudio.c