From 562278377ffa96f3c1af49c7b499df028ce8d8bd Mon Sep 17 00:00:00 2001 From: Eduardo Portilho <54877849+LDrawe@users.noreply.github.com> Date: Sun, 20 Jul 2025 04:56:13 -0300 Subject: [PATCH] fix: use scaling_max_freq for accurate max CPU clock detection (#866) --- scripts/cpufreqctl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/cpufreqctl.sh b/scripts/cpufreqctl.sh index dad4b98..6977d2c 100755 --- a/scripts/cpufreqctl.sh +++ b/scripts/cpufreqctl.sh @@ -208,7 +208,7 @@ function get_frequency_min_limit () { function get_frequency_max_limit () { if [ -z $CORE ]; then CORE=0; fi - cat $FLROOT/cpu$CORE/cpufreq/cpuinfo_max_freq + cat $FLROOT/cpu$CORE/cpufreq/scaling_max_freq } function get_energy_performance_preference () {