Re: Re: [PATCH v1] clk: gate: export clk_gate_endisable

From: Stephen Boyd
Date: Wed Aug 07 2024 - 16:57:33 EST


Quoting zhangqing@xxxxxxxxxxxxxx (2024-08-06 18:28:34)
> Hi,
>
> Some modules, which need to do workaround, need to disabled the clock directly,
> independent of the reference count.

We don't want clk consumers going behind the clk provider and turning it
off and on. You'll need to figure out some other way to do this. Are
there really other consumers besides the one changing the pin to a gpio?
If there's only one user then it seems like clk_disable() should work?