]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
dm: power: Don't return an error when regulators are not autoset
authorSimon Glass <sjg@chromium.org>
Fri, 3 Jul 2015 00:16:06 +0000 (18:16 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:17:15 +0000 (08:17 +0200)
commitcdb0f0d3b2a6922fdf6ec3582b2506bdfd7b85b3
treeb7906763610e7cbcba808e066c88f4f69609f6fa
parenta0dc6570a55d1560e18c3625bbb0ae7135d7678d
dm: power: Don't return an error when regulators are not autoset

Not all regulators can be set up automatically. Adjust the code so that
regulators_enable_boot_on() will return success when some are skipped.
Only genuine errors are reported.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Przemyslaw Marczak <p.marczak@samsung.com>
drivers/power/regulator/regulator-uclass.c