diff options
author | Dirk Brandewie <dirk.j.brandewie@intel.com> | 2014-10-13 08:37:40 -0700 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-10-23 22:59:59 +0200 |
commit | c034b02e213d271b98c45c4a7b54af8f69aaac1e (patch) | |
tree | 79e37d426da0acc6576a606da5eb6caa0b9c87a5 /drivers/cpufreq/intel_pstate.c | |
parent | 36b4bed5cd8f6e17019fa7d380e0836872c7b367 (diff) |
cpufreq: expose scaling_cur_freq sysfs file for set_policy() drivers
Currently the core does not expose scaling_cur_freq for set_policy()
drivers this breaks some userspace monitoring tools.
Change the core to expose this file for all drivers and if the
set_policy() driver supports the get() callback use it to retrieve the
current frequency.
Link: https://bugzilla.kernel.org/show_bug.cgi?id=73741
Cc: All applicable <stable@vger.kernel.org>
Signed-off-by: Dirk Brandewie <dirk.j.brandewie@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/intel_pstate.c')
0 files changed, 0 insertions, 0 deletions