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

Marek Vasut marex at denx.de
Tue Apr 18 13:53:13 CEST 2023


On 4/18/23 13:49, Fabio Estevam wrote:
> 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/

That's nice !


More information about the U-Boot mailing list