diff options
author | 2020-11-13 17:21:05 +0200 | |
---|---|---|
committer | 2020-11-13 16:13:11 +0000 | |
commit | bdcd1177578cd5556f7494da86d5038db8203a16 (patch) | |
tree | ba69542d018dafb2ddcf3347952038339d3c3817 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | regulator: mcp16502: remove void documentation of struct mcp16502 (diff) | |
download | wireguard-linux-bdcd1177578cd5556f7494da86d5038db8203a16.tar.xz wireguard-linux-bdcd1177578cd5556f7494da86d5038db8203a16.zip |
regulator: core: validate selector against linear_min_sel
There are regulators who's min selector is not zero. Selectors loops
(looping b/w zero and regulator::desc::n_voltages) might throw errors
because invalid selectors are used (lower than
regulator::desc::linear_min_sel). For this situations validate selectors
against regulator::desc::linear_min_sel.
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/r/1605280870-32432-2-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