git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
regulator: tps65023: Fix inverted core enable logic.
[sfrench/cifs-2.6.git]
/
drivers
/
regulator
/
tps65023-regulator.c
diff --git
a/drivers/regulator/tps65023-regulator.c
b/drivers/regulator/tps65023-regulator.c
index d2c3d7cc35f50bcffb28c949b4c24b3bcd0b5272..5ca6d21305935ae42f4abf88c1aab92df93a50f2 100644
(file)
--- a/
drivers/regulator/tps65023-regulator.c
+++ b/
drivers/regulator/tps65023-regulator.c
@@
-311,8
+311,7
@@
static int tps_65023_probe(struct i2c_client *client,
/* Enable setting output voltage by I2C */
regmap_update_bits(tps->regmap, TPS65023_REG_CON_CTRL2,
- TPS65023_REG_CTRL2_CORE_ADJ,
- TPS65023_REG_CTRL2_CORE_ADJ);
+ TPS65023_REG_CTRL2_CORE_ADJ, 0);
return 0;
}