[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20230515091438.llg6gfgmxrhkbecz@vireshk-i7>
Date: Mon, 15 May 2023 14:44:38 +0530
From: Viresh Kumar <viresh.kumar@...aro.org>
To: Christoph Niedermaier <cniedermaier@...electronics.com>
Cc: linux-arm-kernel@...ts.infradead.org,
"Rafael J. Wysocki" <rafael@...nel.org>,
Shawn Guo <shawnguo@...nel.org>, Marek Vasut <marex@...x.de>,
Fabio Estevam <festevam@...x.de>,
NXP Linux Team <linux-imx@....com>, linux-pm@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH V2] cpufreq: imx6q: No warning output when disabling a
non-existing frequency of the OPP
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@...electronics.com>
Applied. Thanks.
--
viresh
Powered by blists - more mailing lists