[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20230525034029.wlitykc25pssssii@vireshk-i7>
Date: Thu, 25 May 2023 09:10:29 +0530
From: Viresh Kumar <viresh.kumar@...aro.org>
To: Robert Marko <robimarko@...il.com>
Cc: agross@...nel.org, andersson@...nel.org, konrad.dybcio@...aro.org,
ilia.lin@...nel.org, rafael@...nel.org,
linux-kernel@...r.kernel.org, linux-arm-msm@...r.kernel.org,
linux-pm@...r.kernel.org, ansuelsmth@...il.com
Subject: Re: [PATCH v2 4/4] cpufreq: qcom-nvmem: use helper to get SMEM SoC ID
On 24-05-23, 18:23, Robert Marko wrote:
> Now that SMEM exports a helper to get the SMEM SoC ID lets utilize it.
> Currently qcom_cpufreq_get_msm_id() is encoding the returned SMEM SoC ID
> into an enum, however there is no reason to do so and we can just match
> directly on the SMEM SoC ID as returned by qcom_smem_get_msm_id().
>
> Signed-off-by: Robert Marko <robimarko@...il.com>
> ---
> Changes in v2:
> * Utilize helper exported by SMEM instead of refactoring
> qcom_cpufreq_get_msm_id()
> ---
> drivers/cpufreq/qcom-cpufreq-nvmem.c | 55 +++++-----------------------
> 1 file changed, 9 insertions(+), 46 deletions(-)
Acked-by: Viresh Kumar <viresh.kumar@...aro.org>
--
viresh
Powered by blists - more mailing lists