]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: regmap helpers - support overlapping linear ranges
authorMatti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Wed, 22 Aug 2018 09:53:27 +0000 (12:53 +0300)
committerMark Brown <broonie@kernel.org>
Tue, 28 Aug 2018 19:30:24 +0000 (20:30 +0100)
commitca0f05ac36c66c82b53c8ef621e56f0e118f67cd
tree4bc8be6103c7cc943828e977ec68f7a97cadd96c
parentddc3396c5c5c34013c528587abb4796dc2a55d86
regulator: regmap helpers - support overlapping linear ranges

Don't give up voltage mapping if first range with suitable min/max uV
does not provide the wanted voltage.

Signed-off-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/helpers.c