[PATCH V2 01/35] cpufreq: Implement light weight ->target_index() routine
From: viresh.kumar@linaro.org (Viresh Kumar)
Date: 2013-08-19 06:49:03
Also in:
linux-pm
From: viresh.kumar@linaro.org (Viresh Kumar)
Date: 2013-08-19 06:49:03
Also in:
linux-pm
On 19 August 2013 12:16, amit daniel kachhap [off-list ref] wrote:
Actually target index will still be re-calculated if the platform target driver wants to retrieve the index from the valid frequency or directly set the valid frequency in the clock controller. So I wanted a simpler/quicker cpufreq_frequency_table_target which just returns the matching index from the valid frequency.
I am so sorry but I am still missing your point. Index isn't required to be calculated by platform drivers anymore, it will be done by cpufreq core before calling target_index()..