]> git.karo-electronics.de Git - linux-beck.git/commit
cpufreq: intel_pstate: Do not expose PID parameters in passive mode
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 23 Dec 2016 23:29:56 +0000 (00:29 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 27 Dec 2016 02:30:11 +0000 (03:30 +0100)
commit366430b5c2f61a75d45b9fc00886ffff12f395ab
tree729f466e442a1113a71fec3811f0bbf19e7bdd4d
parentadec57c61c2421d9d06c1fa8dd1ff7ed4fd2ca1b
cpufreq: intel_pstate: Do not expose PID parameters in passive mode

If intel_pstate works in the passive mode in which it acts as
a regular cpufreq driver and collaborates with generic cpufreq
governors, the PID parameters are not used, so do not expose
them via debugfs in that case.

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