diff options
author | 2020-11-25 19:25:47 +0200 | |
---|---|---|
committer | 2020-11-26 13:08:15 +0000 | |
commit | 55cca73931c3a08eb74f5ad06e88304af7a292e0 (patch) | |
tree | 51fc1fa1d293addeceef42688992f98f4ede7485 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | regulator: mcp16502-regulator: fix spelling mistake (diff) | |
download | wireguard-linux-55cca73931c3a08eb74f5ad06e88304af7a292e0.tar.xz wireguard-linux-55cca73931c3a08eb74f5ad06e88304af7a292e0.zip |
regulator: core: return zero for selectors lower than linear_min_sel
Selectors lower than linear_min_sel should not be considered invalid.
Thus return zero in case _regulator_list_voltage(),
regulator_list_hardware_vsel() or regulator_list_voltage_table()
receives such selectors as argument.
Fixes: bdcd1177578c ("regulator: core: validate selector against linear_min_sel")
Reported-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/r/1606325147-606-1-git-send-email-claudiu.beznea@microchip.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions