[PATCH] usb: onboard-hub: Don't disable regulator in remove() callback

Fabio Estevam festevam at gmail.com
Tue Apr 18 13:49:51 CEST 2023


Hi Patrice and Marek,

On Tue, Apr 18, 2023 at 4:22 AM Patrice CHOTARD
<patrice.chotard at foss.st.com> wrote:

> > Isn't the regulator enable/disable refcounted ?
>
> There is no refcount on regulator that's why we let regulator enable.

There is a recent patch from Eugen that adds regulator refcount support:

https://lore.kernel.org/u-boot/20230331091549.149095-1-eugen.hristev@collabora.com/


More information about the U-Boot mailing list