aboutsummaryrefslogtreecommitdiff
path: root/cmd/mem.c
diff options
context:
space:
mode:
authorJonas Karlman <jonas@kwiboo.se>2023-07-19 21:20:57 +0000
committerTom Rini <trini@konsulko.com>2023-08-14 09:14:41 -0400
commit0830333c474379e0249c07fb15c5fe80880fcd36 (patch)
treea62dbee74f282656668c34c679d196461efb8813 /cmd/mem.c
parent335799b7252a1d9125bf9565119d771b8599b6b3 (diff)
usb: ehci-generic: 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> Reviewed-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'cmd/mem.c')
0 files changed, 0 insertions, 0 deletions