lkml.org 
[lkml]   [2023]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] cpufreq: imx6q: Disable only available frequencies
    On 11-05-23, 11:23, Christoph Niedermaier wrote:
    > @@ -254,16 +269,16 @@ static int imx6q_opp_check_speed_grading(struct device *dev)
    > val &= 0x3;
    >
    > if (val < OCOTP_CFG3_SPEED_996MHZ)
    > - if (dev_pm_opp_disable(dev, 996000000))
    > + if (disable_freq_if_available(dev, 996000000))
    > dev_warn(dev, "failed to disable 996MHz OPP\n");

    Ahh, these warnings.

    What about printing the warning only when returned error != -ENODEV ?
    Or just marking them dev_dbg() ?

    --
    viresh

    \
     
     \ /
      Last update: 2023-05-11 11:55    [W:8.619 / U:0.172 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site