cpufreq: intel_pstate: Fix active mode setting from command line
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 13 Jul 2020 13:58:38 +0000 (15:58 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 13 Jul 2020 15:55:57 +0000 (17:55 +0200)
commit39a188b88332545073b8e07633f5e3298e066b61
tree058d4105102c502b029595a6c4a9f60ce826dcab
parent11ba468877bb23f28956a35e896356252d63c983
cpufreq: intel_pstate: Fix active mode setting from command line

If intel_pstate starts in the passive mode by default (that happens
when the processor in the system doesn't support HWP), passing
intel_pstate=active in the kernel command line doesn't work, so
fix that.

Fixes: 33aa46f252c7 ("cpufreq: intel_pstate: Use passive mode by default without HWP")
Reported-by: Doug Smythies <dsmythies@telus.net>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Doug Smythies <dsmythies@telus.net>
drivers/cpufreq/intel_pstate.c