cpufreq: Introduce new relation for freq selection
authorStratos Karafotis <stratosk@semaphore.gr>
Mon, 30 Jun 2014 16:59:33 +0000 (19:59 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 21 Jul 2014 11:43:19 +0000 (13:43 +0200)
commit5b0c0b16d48d20e26859907df4dd449e3b3c7f4c
tree39a03f932232701615350efba56302928362f634
parent22d0628a226c9864fabd621ef2bf64c841219b46
cpufreq: Introduce new relation for freq selection

Introduce CPUFREQ_RELATION_C for frequency selection.
It selects the frequency with the minimum euclidean distance to target.
In case of equal distance between 2 frequencies, it will select the
greater frequency.

Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/freq_table.c
include/linux/cpufreq.h
This page took 0.03426 seconds and 5 git commands to generate.