[PATCH V2] cpufreq: imx6q: No warning output when disabling a non-existing frequency of the OPP

Viresh Kumar viresh.kumar at linaro.org
Mon May 15 02:14:38 PDT 2023


On 12-05-23, 17:07, Christoph Niedermaier wrote:
> It is confusing if a warning is given for disabling a non-existent
> frequency of the operating performance points (OPP). In this case
> the function dev_pm_opp_disable() returns -ENODEV. Check the return
> value and avoid the output of a warning in this case. Avoid code
> duplication by using a separate function.
> 
> Signed-off-by: Christoph Niedermaier <cniedermaier at dh-electronics.com>

Applied. Thanks.

-- 
viresh



More information about the linux-arm-kernel mailing list