Skip to content
Commit 8202bc29 authored by Eugen Hristev's avatar Eugen Hristev Committed by Jaehoon Chung
Browse files

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: default avatarEugen Hristev <eugen.hristev@collabora.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarPatrice Chotard <patrice.chotard@foss.st.com>
parent 29fca9f2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment