Skip to content
Commit 4dbd8f63 authored by Axel Lin's avatar Axel Lin Committed by Mark Brown
Browse files

regulator: gpio-regulator: Set the smallest voltage/current in the specified range



Do not assume the gpio regulator states map is sorted in any order.
This patch ensures we always set the smallest voltage/current that falls within
the specified range.

Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Acked-by: default avatarHeiko Stuebner <heiko@sntech.de>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 9d442061
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment