Introduce CPUFREQ_RELATION_C
authormythos234 <stefan@st-t.de>
Tue, 22 Mar 2016 18:09:47 +0000 (18:09 +0000)
committerDanny Wood <danwood76@gmail.com>
Sun, 31 Mar 2019 09:24:08 +0000 (10:24 +0100)
commitc8354165416bf37e3ad6ab96ecddf0d5caaf9fcd
tree7890288c970ee629ce02e09c9fbb3fffaaee1e4b
parentc5d6114348a4d6d7e4ef7743bf7832fb8ce4b529
Introduce CPUFREQ_RELATION_C
It selects the frequency with the minimum euclidean distance to
target. In case of equal distance between 2 frequencies, it will
select the greater freq.

Created by Stratos Karafotis <stratosk@semaphore.gr>

Original commit: https://github.com/XileForce/Vindicator-S6/commit/4b113d38e8f62ea5810d2b4d134cc6f7a81198dd
drivers/cpufreq/freq_table.c
include/linux/cpufreq.h