Re: [PATCH v5 2/2] cpufreq: airoha: Add EN7581 CPUFreq SMCCC driver
From: Viresh Kumar
Date: Wed Dec 04 2024 - 02:06:57 EST
On 04-12-24, 08:04, Christian Marangi wrote:
> The idea I prefer this is to save a few CPU cycle and also to prevent
> bad usage of the CLK if anyone starts to use it. Returning 0 from a set_rate
> would provide bad information. Or your idea was to declare a set_rate
> and always return an error like -EINVAL?
Returning error is not okay, as it will make opp-set fail eventually.
I think we are doing the right thing right now.
--
viresh