Change-Id: Ie43d3c5c80281fe542383de9176918a6a0e50d15
Signed-off-by: Kyungwoo Kang <kwoo.kang@samsung.com>
msg.flags = client->flags & I2C_M_TEN;
msg.len = count;
msg.buf = (char *)buf;
+ msg.freq = client->frequency;
ret = i2c_transfer(adap, &msg, 1);
* managing the device.
*/
struct i2c_client {
+ unsigned int frequency;
unsigned short flags; /* div., see below */
unsigned short addr; /* chip address - NOTE: 7bit */
/* addresses are stored in the */
#define I2C_M_STOP 0x8000 /* if I2C_FUNC_PROTOCOL_MANGLING */
__u16 len; /* msg length */
__u8 *buf; /* pointer to msg data */
+ unsigned int freq;
};
/* To determine what functionality is present */