RE: [PATCH v2 2/4] pwm: Add Apple PWM controller

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Subject: Re: [PATCH v2 2/4] pwm: Add Apple PWM controller
> 
> On Wed, 2 Nov 2022 at 19:29, Biju Das <biju.das.jz@xxxxxxxxxxxxxx>
> wrote:
> >
> > Then enable the clk whenever pwm is enabled And disable the clk
> > whenever pwm is disabled.
> I can do that, but I do not see the point in doing that. This clock is
> active whenever the system is turned on, all this will result in is
> some unnecessary clock refcount increments/decrements.

OK for me, as I do not know about your system. I just pointed out 
you are unnecessarily turning on the clock during probe
even if the pwm is not used.

Cheers,
Biju




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux