cpufreq: intel_pstate: Skip unnecessary PID resets on init
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 27 Mar 2017 22:11:53 +0000 (00:11 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 28 Mar 2017 21:12:14 +0000 (23:12 +0200)
commit694cb173475a048a05daebf27cc8fdb7865c158b
tree8c447a2f29340a0da3bd9149ea80f0c3dde6b40b
parent7aec5b50e97dd3e2e6ad8a87ccfd62ba8f49a105
cpufreq: intel_pstate: Skip unnecessary PID resets on init

PID controller parameters only need to be initialized if the
get_target_pstate_use_performance() P-state selection routine
is going to be used.  It is not necessary to initialize them
otherwise, so don't do that.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/intel_pstate.c