[PATCH] cpufreq: Add SM8650 to cpufreq-dt-platdev blocklist

Pengyu Luo posted 1 patch 10 months, 1 week ago
drivers/cpufreq/cpufreq-dt-platdev.c | 1 +
1 file changed, 1 insertion(+)
[PATCH] cpufreq: Add SM8650 to cpufreq-dt-platdev blocklist
Posted by Pengyu Luo 10 months, 1 week ago
SM8650 have already been supported by qcom-cpufreq-hw driver, but
never been added to cpufreq-dt-platdev. This makes noise

[    0.388525] cpufreq-dt cpufreq-dt: failed register driver: -17
[    0.388537] cpufreq-dt cpufreq-dt: probe with driver cpufreq-dt failed with error -17

So adding it to the cpufreq-dt-platdev driver's blocklist to fix it.

Signed-off-by: Pengyu Luo <mitltlatltl@gmail.com>
---
 drivers/cpufreq/cpufreq-dt-platdev.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c b/drivers/cpufreq/cpufreq-dt-platdev.c
index 2aa00769c..a010da0f6 100644
--- a/drivers/cpufreq/cpufreq-dt-platdev.c
+++ b/drivers/cpufreq/cpufreq-dt-platdev.c
@@ -175,6 +175,7 @@ static const struct of_device_id blocklist[] __initconst = {
 	{ .compatible = "qcom,sm8350", },
 	{ .compatible = "qcom,sm8450", },
 	{ .compatible = "qcom,sm8550", },
+	{ .compatible = "qcom,sm8650", },
 
 	{ .compatible = "st,stih407", },
 	{ .compatible = "st,stih410", },
-- 
2.49.0
Re: [PATCH] cpufreq: Add SM8650 to cpufreq-dt-platdev blocklist
Posted by Viresh Kumar 10 months ago
On 05-04-25, 00:42, Pengyu Luo wrote:
> SM8650 have already been supported by qcom-cpufreq-hw driver, but
> never been added to cpufreq-dt-platdev. This makes noise
> 
> [    0.388525] cpufreq-dt cpufreq-dt: failed register driver: -17
> [    0.388537] cpufreq-dt cpufreq-dt: probe with driver cpufreq-dt failed with error -17
> 
> So adding it to the cpufreq-dt-platdev driver's blocklist to fix it.
> 
> Signed-off-by: Pengyu Luo <mitltlatltl@gmail.com>
> ---
>  drivers/cpufreq/cpufreq-dt-platdev.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c b/drivers/cpufreq/cpufreq-dt-platdev.c
> index 2aa00769c..a010da0f6 100644
> --- a/drivers/cpufreq/cpufreq-dt-platdev.c
> +++ b/drivers/cpufreq/cpufreq-dt-platdev.c
> @@ -175,6 +175,7 @@ static const struct of_device_id blocklist[] __initconst = {
>  	{ .compatible = "qcom,sm8350", },
>  	{ .compatible = "qcom,sm8450", },
>  	{ .compatible = "qcom,sm8550", },
> +	{ .compatible = "qcom,sm8650", },
>  
>  	{ .compatible = "st,stih407", },
>  	{ .compatible = "st,stih410", },

Applied. Thanks.

-- 
viresh