aboutsummaryrefslogtreecommitdiff
path: root/cmd/mem.c
diff options
context:
space:
mode:
authorJonas Karlman <jonas@kwiboo.se>2023-07-19 21:20:56 +0000
committerTom Rini <trini@konsulko.com>2023-08-14 09:14:41 -0400
commit335799b7252a1d9125bf9565119d771b8599b6b3 (patch)
tree6a229f8d13a6ddc22716d1c0efc7a43e3504cac8 /cmd/mem.c
parentd82cbc596eb5df41c8e7e3c73dc32b0731cf6500 (diff)
usb: dwc2: 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: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> # rockpro64-rk3399 Reviewed-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'cmd/mem.c')
0 files changed, 0 insertions, 0 deletions