drivers/cpufreq/cpufreq-dt-platdev.c | 1 + 1 file changed, 1 insertion(+)
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
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
© 2016 - 2026 Red Hat, Inc.