Commit 47a0925
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: d2ad981 ("regulator: bd718x7: Support external connection to scale voltages")
Signed-off-by: Maud Spierings <[email protected]>
Reviewed-by: Matti Vaittinen <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Mark Brown <[email protected]>1 parent dcb6fa3 commit 47a0925
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1613 | 1613 | | |
1614 | 1614 | | |
1615 | 1615 | | |
| 1616 | + | |
| 1617 | + | |
1616 | 1618 | | |
1617 | 1619 | | |
1618 | 1620 | | |
| |||
0 commit comments