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

Patrice CHOTARD patrice.chotard at foss.st.com
Tue Apr 18 17:05:19 CEST 2023


Hi 

On 4/18/23 13:53, Marek Vasut wrote:
> 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 !

Planets are perfectly aligned ;-)

I cancel this patch, and will test the pointed series when it will be merged.

Thanks
Patrice



More information about the U-Boot mailing list