diff options
author | Claudiu Beznea <[email protected]> | 2020-11-25 19:25:47 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-11-26 13:08:15 +0000 |
commit | 55cca73931c3a08eb74f5ad06e88304af7a292e0 (patch) | |
tree | 51fc1fa1d293addeceef42688992f98f4ede7485 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 33f369efbce15e034db4faabeec8502d7d236859 (diff) |
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 <[email protected]>
Signed-off-by: Claudiu Beznea <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions