]> git.baikalelectronics.ru Git - uboot.git/commit
power: regulator: Add limits checking while setting voltage
authorKeerthy <j-keerthy@ti.com>
Wed, 26 Oct 2016 08:12:31 +0000 (13:42 +0530)
committerSimon Glass <sjg@chromium.org>
Sat, 26 Nov 2016 00:58:09 +0000 (17:58 -0700)
commitbc9dc2e63901c76ef12d0cd6c2d8e1c86055deaf
treefe435e35b1fc14668290aecd8166cf0af538a25c
parentf9a93f9ea7f495e736c4d0e24d3fe2be1138355e
power: regulator: Add limits checking while setting voltage

Currently the specific set ops functions are directly
called without any check for voltage limits for a regulator.
Check for them and proceed.

Signed-off-by: Keerthy <j-keerthy@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Fixed checking of voltate limits:
Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/power/regulator/regulator-uclass.c