aboutsummaryrefslogtreecommitdiff
path: root/cmd/mem.c
diff options
context:
space:
mode:
authorJonas Karlman <jonas@kwiboo.se>2023-07-19 21:20:59 +0000
committerTom Rini <trini@konsulko.com>2023-08-14 09:14:41 -0400
commit9a2e9cc659a2ea6c7219fa86339dfef47d0b1516 (patch)
tree03322c0d7246d142d9c871a604bcbfafdd92e802 /cmd/mem.c
parent0830333c474379e0249c07fb15c5fe80880fcd36 (diff)
mmc: Use regulator_set_enable_if_allowed
With the commit 4fcba5d556b4 ("regulator: implement basic reference counter") the return value of regulator_set_enable may be EALREADY or EBUSY for fixed/gpio regulators. Change to use the more relaxed regulator_set_enable_if_allowed to continue if regulator already was enabled or disabled. Signed-off-by: Jonas Karlman <jonas@kwiboo.se> Tested-by: Svyatoslav Ryhel <clamor95@gmail.com> # P895 Tegra 3; Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> # rockpro64-rk3399
Diffstat (limited to 'cmd/mem.c')
0 files changed, 0 insertions, 0 deletions