Skip to content
Commit 5b6667c7 authored by Steve Muckle's avatar Steve Muckle Committed by Rafael J. Wysocki
Browse files

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: default avatarSteve Muckle <smuckle@linaro.org>
Reviewed-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 5cbea469
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment