projects
/
wrapfs-3.14.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ca39c6
)
regulator: wm831x: Set the new rather than old value for DVS VSEL
author
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Tue, 20 Nov 2012 01:02:06 +0000
(10:02 +0900)
committer
Ben Hutchings
<ben@decadent.org.uk>
Thu, 3 Jan 2013 03:33:12 +0000
(
03:33
+0000)
commit
13ae633cf729b0ecb677b75b04886ff8fada8fad
upstream.
Reported-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/regulator/wm831x-dcdc.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/wm831x-dcdc.c
b/drivers/regulator/wm831x-dcdc.c
index bd3531d8b2ac9364fb48c182c4947a00696d7c34..77a6faf82120b6ee4cf50f6e473bca18ac149f74 100644
(file)
--- a/
drivers/regulator/wm831x-dcdc.c
+++ b/
drivers/regulator/wm831x-dcdc.c
@@
-330,7
+330,7
@@
static int wm831x_buckv_set_voltage(struct regulator_dev *rdev,
if (vsel > dcdc->dvs_vsel) {
ret = wm831x_set_bits(wm831x, dvs_reg,
WM831X_DC1_DVS_VSEL_MASK,
-
dcdc->dvs_
vsel);
+ vsel);
if (ret == 0)
dcdc->dvs_vsel = vsel;
else