cpufreq: ondemand: Replace down_differential tuner with adj_up_threshold
authorStratos Karafotis <stratosk@semaphore.gr>
Wed, 6 Feb 2013 12:34:00 +0000 (13:34 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sat, 9 Feb 2013 00:18:47 +0000 (01:18 +0100)
In order to avoid the calculation of up_threshold - down_differential
every time that the frequency must be decreased, we replace the
down_differential tuner with the adj_up_threshold which keeps the
difference across multiple checks.

Update the adj_up_threshold only when the up_theshold is also updated.

Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

No differences found