projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a23311
)
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
patch
|
blob
|
history
diff --git
a/drivers/mfd/tps65910.c
b/drivers/mfd/tps65910.c
index de3d2ace237c1b296b39bc56f05d58a324d4231b..af4e442dcfb4b0e1cade1f1b12a24eb21fa6cad0 100755
(executable)
--- a/
drivers/mfd/tps65910.c
+++ b/
drivers/mfd/tps65910.c
@@
-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)