mod i2c_transfer

This commit is contained in:
柯飞雄
2010-05-17 11:40:08 +00:00
committed by 黄涛
parent ff3d054b7b
commit 94843abd8d

View File

@@ -41,7 +41,7 @@ static int hym8563_i2c_read_regs(struct i2c_client *client, u8 reg, u8 buf[], un
msgs[1].addr = client->addr;
msgs[1].flags = client->flags | I2C_M_RD;
msgs[1].len = len;
msgs[1].scl_rate = 4000 * 1000;
msgs[1].scl_rate = 400 * 1000;
ret = i2c_transfer(adap, msgs, 2);
/*