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:
d84d81a
)
rk29:act8931:modify act8931 power on control reg
author
张晴
<zhangqing@rock-chips.com>
Wed, 22 May 2013 08:43:35 +0000
(16:43 +0800)
committer
张晴
<zhangqing@rock-chips.com>
Wed, 22 May 2013 08:43:35 +0000
(16:43 +0800)
drivers/regulator/act8931.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/act8931.c
b/drivers/regulator/act8931.c
index e3083ad0749567225042f471802328007f0c5a11..d5215f1cb49a2f254a2827388f5feff5d9f23e61 100755
(executable)
--- a/
drivers/regulator/act8931.c
+++ b/
drivers/regulator/act8931.c
@@
-653,7
+653,7
@@
static int __devinit act8931_i2c_probe(struct i2c_client *i2c, const struct i2c_
ret = act8931_reg_read(act8931,0x01);
if (ret < 0)
goto err;
- ret = act8931_set_bits(act8931, 0x01,(0x1<<0),(0x1<<0));
+ ret = act8931_set_bits(act8931, 0x01,(0x1<<
5) | (0x1<<
0),(0x1<<0));
if (ret < 0) {
printk("act8931 set 0x01 error!\n");
goto err;