mirror of
https://github.com/torvalds/linux.git
synced 2026-06-09 07:03:37 +02:00
rk29:act8931:modify act8931 power on control reg
This commit is contained in:
parent
d84d81a6cc
commit
effda8e01b
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user