commit | 5b6667c76d39e325d3c05b1f7e40f8a0e4bd6681 | [log] [tgz] |
---|---|---|
author | Steve Muckle <steve.muckle@linaro.org> | Wed Jul 13 13:25:27 2016 -0700 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Thu Jul 21 22:28:32 2016 +0200 |
tree | 7a8384759382e0d91cd7db9d71684e98b153f2cf | |
parent | 5cbea46984d67f614c74c4401b54b9d681861e80 [diff] |
cpufreq: acpi-cpufreq: use cached frequency mapping when possible A call to cpufreq_driver_resolve_freq will cache the mapping from the desired target frequency to the frequency table index. If there is a mapping for the desired target frequency then use it instead of looking up the mapping again. Signed-off-by: Steve Muckle <smuckle@linaro.org> Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>