From affbe440ded9e1dfd0619435cecbb5a29a4f810a Mon Sep 17 00:00:00 2001 From: CyrIng Date: Thu, 7 Mar 2024 12:50:37 +0100 Subject: [PATCH] [AArch64] Keep max ratio within OPP and Hybrid lists --- aarch64/corefreqk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aarch64/corefreqk.c b/aarch64/corefreqk.c index 925418e6..855deb15 100644 --- a/aarch64/corefreqk.c +++ b/aarch64/corefreqk.c @@ -1997,7 +1997,7 @@ void Query_DeviceTree(unsigned int cpu) #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 8, 0) cpufreq_for_each_valid_entry(table, pFreqPolicy->freq_table) { - if (table->frequency != max_freq && table->frequency != min_freq) { + if (table->frequency != min_freq) { if (boost < (BOOST(SIZE) - BOOST(18C))) { Core->Boost[BOOST(18C) + boost] = table->frequency