rk:modify tps65910 i2c write speed from 100k to 200k
author张晴 <zhangqing@rock-chips.com>
Fri, 9 Nov 2012 10:29:40 +0000 (18:29 +0800)
committer张晴 <zhangqing@rock-chips.com>
Fri, 9 Nov 2012 10:29:40 +0000 (18:29 +0800)
drivers/mfd/tps65910.c

index de3d2ace237c1b296b39bc56f05d58a324d4231b..af4e442dcfb4b0e1cade1f1b12a24eb21fa6cad0 100755 (executable)
@@ -96,7 +96,7 @@ static int tps65910_i2c_write(struct tps65910 *tps65910, u8 reg,
        //for(i=0;i<bytes;i++)
        //printk("%s:reg=0x%x,value=0x%x\n",__func__,reg+i,msg[i+1]);
        
-       ret = i2c_master_send(i2c, msg, bytes + 1);
+       ret = i2c_master_normal_send(i2c, msg, bytes + 1,TPS65910_SPEED);
        if (ret < 0)
                return ret;
        if (ret != bytes + 1)