On Wed, 19 Jul 2023 at 15:21, Jonas Karlman <jo...@kwiboo.se> wrote:
>
> 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 <jo...@kwiboo.se>
> ---
>  drivers/usb/host/dwc2.c | 14 ++++++--------
>  1 file changed, 6 insertions(+), 8 deletions(-)

Reviewed-by: Simon Glass <s...@chromium.org>
Tested-by: Simon Glass <s...@chromium.org>  # rockpro64-rk3399

Reply via email to