]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - drivers/regulator/helpers.c
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)
commite7d80b6b848b4b5f83d3fbee9fd042d036ede9c6
tree4bc8be6103c7cc943828e977ec68f7a97cadd96c
parent61b2e6741e81226c29a5ed92fd886f11efb78e98
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