summaryrefslogtreecommitdiff
path: root/drivers/cpufreq/cpufreq.c
diff options
context:
space:
mode:
authorErwan Velu <e.velu@criteo.com>2019-02-13 09:58:35 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-02-13 12:32:10 +0100
commit076b862c7e4409d2dcacfda19f7eaf8d07ab9200 (patch)
treea71d5ad023aaaa8d3dec9ea83dd057c4fd94735d /drivers/cpufreq/cpufreq.c
parentb53c7348caf4de8ee447f9e6c2a1eb480199c042 (diff)
cpufreq: intel_pstate: Add reasons for failure and debug messages
The init code path has several exceptions where the driver can decide not to load. As CONFIG_X86_INTEL_PSTATE is generally set to Y, the return code is not reachable. The initialization code is neither verbose of the reason why it did choose to prematurely exit, so it is difficult for a user to determine, on a given platform, why the driver didn't load properly. This patch is about reporting to the user the reason/context of why the driver failed to load. That is a precious hint when debugging a platform. Signed-off-by: Erwan Velu <e.velu@criteo.com> [ rjw: Subject & changelog, minor fixups ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/cpufreq.c')
0 files changed, 0 insertions, 0 deletions