]> git.baikalelectronics.ru Git - uboot.git/commit
regulator: handle different error codes in regulator_set_enable_if_allowed
authorEugen Hristev <eugen.hristev@collabora.com>
Wed, 19 Apr 2023 13:45:26 +0000 (16:45 +0300)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 4 Jul 2023 02:21:12 +0000 (11:21 +0900)
commitec4452a6753c1c22f69ecd7841bb4bc3385e568e
tree744bd9cc4265fb5ad94e82a9e7ff25df44950c4e
parentefd74489a0930947cb3c37e4935ad0d8d911648a
regulator: handle different error codes in regulator_set_enable_if_allowed

The regulator core can return different codes which are not considered
a real error for this function.
Return success in such cases.

Signed-off-by: Eugen Hristev <eugen.hristev@collabora.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
drivers/power/regulator/regulator-uclass.c