diff options
author | Axel Lin <axel.lin@ingics.com> | 2021-05-17 08:27:21 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-05-18 16:04:21 +0300 |
commit | 0b1e552673724832b08d49037cdeeac634a3b319 (patch) | |
tree | d0c2f24ab6920f848fd6719c330c738107f53f71 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | adf1471b2f7636362718cec42cf11599cced9733 (diff) | |
download | linux-0b1e552673724832b08d49037cdeeac634a3b319.tar.xz |
regulator: da9121: Return REGULATOR_MODE_INVALID for invalid mode
-EINVAL is not a valid return value for .of_map_mode, return
REGULATOR_MODE_INVALID instead.
Fixes: 65ac97042d4e ("regulator: da9121: add mode support")
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Adam Ward <Adam.Ward.opensource@diasemi.com>
Link: https://lore.kernel.org/r/20210517052721.1063375-1-axel.lin@ingics.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions