diff options
| author | Axel Lin <[email protected]> | 2021-05-21 07:30:20 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2021-05-21 19:05:48 +0000 |
| commit | 36cb555fae0875d5416e8514a84a427bec6e4cda (patch) | |
| tree | c55ff4b3cd3e839f21f0d0dab5a217ea53e196a6 /tools/perf/scripts/python | |
| parent | regulator: core: resolve supply for boot-on/always-on regulators (diff) | |
| download | kernel-36cb555fae0875d5416e8514a84a427bec6e4cda.tar.gz kernel-36cb555fae0875d5416e8514a84a427bec6e4cda.zip | |
regulator: scmi: Fix off-by-one for linear regulators .n_voltages setting
For linear regulators, the .n_voltages is (max_uv - min_uv) / uv_step + 1.
Fixes: 0fbeae70ee7c ("regulator: add SCMI driver")
Signed-off-by: Axel Lin <[email protected]>
Reviewed-by: Cristian Marussi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
