aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2025-11-01 10:49:12 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2025-11-01 10:49:12 -0700
commitbfeeb4a1bdf5d255ea885f16be80968d1f31281b (patch)
tree3ef1c067153958fa29967d3386636104d626b250
parent963bf1619472d954d04ed8851be17df633c6afd6 (diff)
parent47a0925ee4bd2689f0aef4dbd67dd46442fe1ca2 (diff)
downloadtip-bfeeb4a1bdf5d255ea885f16be80968d1f31281b.tar.gz
Merge tag 'regulator-fix-v6.18-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator
Pull regulator fix from Mark Brown: "A simple fix for a missed part of an API conversion in the bd718x7 driver" * tag 'regulator-fix-v6.18-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator: regulator: bd718x7: Fix voltages scaled by resistor divider
-rw-r--r--drivers/regulator/bd718x7-regulator.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/regulator/bd718x7-regulator.c b/drivers/regulator/bd718x7-regulator.c
index 022d98f3c32a2d..ea9c4058ee6a5e 100644
--- a/drivers/regulator/bd718x7-regulator.c
+++ b/drivers/regulator/bd718x7-regulator.c
@@ -1613,6 +1613,8 @@ static int setup_feedback_loop(struct device *dev, struct device_node *np,
step /= r1;
new[j].min = min;
+ new[j].min_sel = desc->linear_ranges[j].min_sel;
+ new[j].max_sel = desc->linear_ranges[j].max_sel;
new[j].step = step;
dev_dbg(dev, "%s: old range min %d, step %d\n",