projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
137a635
)
regulator: Fix WM831x DCDC DVS VSEL bootstrapping
author
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Mon, 25 Jul 2011 21:20:30 +0000
(22:20 +0100)
committer
Liam Girdwood
<lrg@slimlogic.co.uk>
Thu, 28 Jul 2011 09:20:49 +0000
(10:20 +0100)
Read our initial VSEL from the correct register.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/regulator/wm831x-dcdc.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/wm831x-dcdc.c
b/drivers/regulator/wm831x-dcdc.c
index 0c7a9d5047f4c284e5b105def33892bf919c277f..8a4fdc3a45d9ca1db86b719a8631d3b04f0e198a 100644
(file)
--- a/
drivers/regulator/wm831x-dcdc.c
+++ b/
drivers/regulator/wm831x-dcdc.c
@@
-551,7
+551,7
@@
static __devinit int wm831x_buckv_probe(struct platform_device *pdev)
}
dcdc->on_vsel = ret & WM831X_DC1_ON_VSEL_MASK;
- ret = wm831x_reg_read(wm831x, dcdc->base + WM831X_DCDC_
ON_CONFIG
);
+ ret = wm831x_reg_read(wm831x, dcdc->base + WM831X_DCDC_
DVS_CONTROL
);
if (ret < 0) {
dev_err(wm831x->dev, "Failed to read DVS VSEL: %d\n", ret);
goto err;