projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70b4649
)
regulator: tps65217: Fix off-by-one for latest seletor of tps65217_uv1_ranges
author
Axel Lin
<axel.lin@ingics.com>
Sun, 24 Mar 2019 06:00:04 +0000
(14:00 +0800)
committer
Mark Brown
<broonie@kernel.org>
Tue, 26 Mar 2019 13:57:32 +0000
(13:57 +0000)
According to the datasheet the latest seletor 11 1111b = 3.3 V.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/tps65217-regulator.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/tps65217-regulator.c
b/drivers/regulator/tps65217-regulator.c
index d84fab616abf45cde4e04887500ed57aa4fc5ea9..546fb5cf20239937a8aa09d3de6558a0a36f19ce 100644
(file)
--- a/
drivers/regulator/tps65217-regulator.c
+++ b/
drivers/regulator/tps65217-regulator.c
@@
-61,7
+61,7
@@
static const struct regulator_linear_range tps65217_uv1_ranges[] = {
REGULATOR_LINEAR_RANGE(1550000, 25, 30, 50000),
REGULATOR_LINEAR_RANGE(1850000, 31, 52, 50000),
REGULATOR_LINEAR_RANGE(3000000, 53, 55, 100000),
- REGULATOR_LINEAR_RANGE(3300000, 56, 6
2
, 0),
+ REGULATOR_LINEAR_RANGE(3300000, 56, 6
3
, 0),
};
static const struct regulator_linear_range tps65217_uv2_ranges[] = {