]> git.baikalelectronics.ru Git - uboot.git/commit
power: regulator: Introduce regulator_set_value_force function
authorKeerthy <j-keerthy@ti.com>
Wed, 26 Oct 2016 08:12:30 +0000 (13:42 +0530)
committerSimon Glass <sjg@chromium.org>
Fri, 25 Nov 2016 17:00:04 +0000 (10:00 -0700)
commitf9a93f9ea7f495e736c4d0e24d3fe2be1138355e
tree07e3089822b28a37bf0f0264c273094763d778cb
parentcdef622cea748b27365ba1cf9316e81041672b3e
power: regulator: Introduce regulator_set_value_force function

In case we want to force a particular value on a regulator
irrespective of the min/max constraints for testing purposes
one can call regulator_set_value_force function.

Signed-off-by: Keerthy <j-keerthy@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/regulator.c
drivers/power/regulator/regulator-uclass.c
include/power/regulator.h