mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
regulator: wm831x: Set the new rather than old value for DVS VSEL
Reported-by: Guennadi Liakhovetski <[email protected]> Signed-off-by: Mark Brown <[email protected]> Cc: [email protected]
This commit is contained in:
parent
f4a75d2eb7
commit
13ae633cf7
1 changed files with 1 additions and 1 deletions
|
|
@ -290,7 +290,7 @@ static int wm831x_buckv_set_voltage_sel(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
|
||||
|
|
|
|||
Loading…
Reference in a new issue