Messages in this thread | ![/](/images/icornerl.gif) | | Date | Fri, 12 May 2023 10:11:41 +0530 | From | Viresh Kumar <> | Subject | Re: [PATCH] cpufreq: imx6q: Disable only available frequencies |
| |
On 11-05-23, 14:38, Christoph Niedermaier wrote: > - if (val < OCOTP_CFG3_SPEED_996MHZ) > - if (dev_pm_opp_disable(dev, 996000000)) > + if (val < OCOTP_CFG3_SPEED_996MHZ) { > + ret_opp = dev_pm_opp_disable(dev, 996000000); > + if (ret_opp < 0 && ret_opp != -ENODEV) > dev_warn(dev, "failed to disable 996MHz OPP\n"); > + } > > If that's OK, I can do a version 2 with it.
Looks okay to me.
-- viresh
| ![\](/images/icornerr.gif) |