Unverified Commit 47a0925e authored by Maud Spierings's avatar Maud Spierings Committed by Mark Brown
Browse files

regulator: bd718x7: Fix voltages scaled by resistor divider



The .min_sel and .max_sel fields remained uninitialized in the new
linear_range, causing an error further down the line. Copy the old
values of these fields to the new one as they represent the range of
register values, which does not change.

Fixes: d2ad9811 ("regulator: bd718x7: Support external connection to scale voltages")
Signed-off-by: default avatarMaud Spierings <maudspierings@gocontroll.com>
Reviewed-by: default avatarMatti Vaittinen <mazziesaccount@gmail.com>
Link: https://patch.msgid.link/20251030-mini_iv-v3-2-ef56c4d9f219@gocontroll.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent dcb6fa37
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment