Re: [PATCH] cpufreq: create cooling device based on ACPI

From: Dhruva Gole
Date: Fri Apr 28 2023 - 07:39:23 EST


Hi,

On 28/04/23 12:33, wangyouwan@xxxxxxx wrote:
From: youwan Wang <wangyouwan@xxxxxxx>

When using the "scpi_cpufreq" driver, an error

Pardon, do you mean drivers/cpufreq/acpi-cpufreq.c ?

occurs:cpufreq_cooling: OF node not available for cpu*.


If this is fixing some errors/ bugs, maybe add an appropriate fixes
tag?

The current computer motherboard is using ACPI firmware.
Go to see that the error is caused by calling the
"of_cpufreq_cooling_register" interface.
comment:create cpufreq cooling device based on DT.

Signed-off-by: youwan Wang <wangyouwan@xxxxxxx>
---
drivers/cpufreq/cpufreq.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
[...]

--
Thanks and Regards,
Dhruva Gole