[PATCH V3 1/2] firmware: arm_scmi: Add support for marking certain frequencies as boost

Viresh Kumar viresh.kumar at linaro.org
Sun Mar 10 22:49:03 PDT 2024


On 11-03-24, 11:05, Dhruva Gole wrote:
> > +		if (freq > sustained_freq)
> > +			data.turbo = true;
> 
> It's simple enough that we can write it as
> data.turbo = (freq > sustained_freq_khz*1000) ? true : false;

Or:

data.turbo = freq > sustained_freq_khz * 1000;

-- 
viresh



More information about the linux-arm-kernel mailing list