diff options
author | 2012-10-31 01:28:21 +0100 | |
---|---|---|
committer | 2012-11-15 00:33:09 +0100 | |
commit | 7249924e537816368c4a35afd97ab311f75a6368 (patch) | |
tree | a332ffc88c23988b4add2bab60705357a230b705 /kernel/power/qos.c | |
parent | cpufreq: Avoid calling cpufreq driver's target() routine if target_freq == policy->cur (diff) | |
download | linux-rng-7249924e537816368c4a35afd97ab311f75a6368.tar.xz linux-rng-7249924e537816368c4a35afd97ab311f75a6368.zip |
cpufreq: Make sure target freq is within limits
__cpufreq_driver_target() must not pass target frequency beyond the
limits of current policy.
Today most of cpufreq platform drivers are doing this check in their
target routines. Why not move it to __cpufreq_driver_target()?
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'kernel/power/qos.c')
0 files changed, 0 insertions, 0 deletions