summaryrefslogtreecommitdiff
path: root/drivers/cpufreq/Kconfig
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-02-15 01:20:11 (GMT)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-03-09 13:41:04 (GMT)
commit78347cdb89065f9d40ea28596ef2bd8058eb6d12 (patch)
tree0ad72319050e7f7657e16891ae051a6ff5fd8eb3 /drivers/cpufreq/Kconfig
parent4cccf7555770b787fa80791a1407a27301f03920 (diff)
downloadlinux-78347cdb89065f9d40ea28596ef2bd8058eb6d12.tar.xz
cpufreq: governor: Reset sample delay in store_sampling_rate()
If store_sampling_rate() updates the sample delay when the ondemand governor is in the middle of its high/low dance (OD_SUB_SAMPLE sample type is set), the governor will still do the bottom half of the previous sample which may take too much time. To prevent that from happening, change store_sampling_rate() to always reset the sample delay to 0 which also is consistent with the new behavior of cpufreq_governor_limits(). Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/cpufreq/Kconfig')
0 files changed, 0 insertions, 0 deletions