cpufreq: intel_pstate: Update pid_params.sample_rate_ns in pid_param_set()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 12 Mar 2017 17:12:56 +0000 (18:12 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 13 Mar 2017 22:55:12 +0000 (23:55 +0100)
commit6e7408acd04d06c04981c0c0fb5a2462b16fae4f
tree5037e20b3166876d9a9705fe6e3625cf9bac6293
parent4495c08e84729385774601b5146d51d9e5849f81
cpufreq: intel_pstate: Update pid_params.sample_rate_ns in pid_param_set()

Fix the debugfs interface for PID tuning to actually update
pid_params.sample_rate_ns on PID parameters updates, as changing
pid_params.sample_rate_ms via debugfs has no effect now.

Fixes: a4675fbc4a7a (cpufreq: intel_pstate: Replace timers with utilization update callbacks)
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/cpufreq/intel_pstate.c