]> git.dujemihanovic.xyz Git - u-boot.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)
commiteaadcf38ddfe23aee9c3a85a96d4103f5398fc5e
treefe435e35b1fc14668290aecd8166cf0af538a25c
parent2f5d532f3b8a7697dc1b5700000b1e350323d50c
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