projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
073a77d
)
regulator: tps65217: Use regulator_map_voltage_ascend for LDO1
author
Axel Lin
<axel.lin@ingics.com>
Tue, 15 Apr 2014 11:55:35 +0000
(19:55 +0800)
committer
Mark Brown
<broonie@linaro.org>
Fri, 18 Apr 2014 16:21:00 +0000
(17:21 +0100)
The voltages in LDO1_VSEL_table are in ascendant order, so use
regulator_map_voltage_ascend.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/tps65217-regulator.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/tps65217-regulator.c
b/drivers/regulator/tps65217-regulator.c
index 8482f6ba08a1278788b4331039bae679d04157f6..f7ed20a5a8b9a2907135abc52bfc5097e146adb6 100644
(file)
--- a/
drivers/regulator/tps65217-regulator.c
+++ b/
drivers/regulator/tps65217-regulator.c
@@
-134,6
+134,7
@@
static struct regulator_ops tps65217_pmic_ldo1_ops = {
.get_voltage_sel = regulator_get_voltage_sel_regmap,
.set_voltage_sel = tps65217_pmic_set_voltage_sel,
.list_voltage = regulator_list_voltage_table,
+ .map_voltage = regulator_map_voltage_ascend,
};
static const struct regulator_desc regulators[] = {