summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/acpi-cpufreq.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2015-07-18 11:31:03 +0530
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-07-21 01:12:02 +0200
commit4bc384ae6299d3f3a948efabda2a423e2a293ee0 (patch)
tree4b9381ad3936ab9127a5c00bdd03a74809453157 /drivers/cpufreq/acpi-cpufreq.c
parent871ef3b53a2f4dd9be348c07b77df3c4bd74a37f (diff)
downloadop-kernel-dev-4bc384ae6299d3f3a948efabda2a423e2a293ee0.zip
op-kernel-dev-4bc384ae6299d3f3a948efabda2a423e2a293ee0.tar.gz
cpufreq: propagate errors returned from __cpufreq_governor()
Return codes aren't honored properly in cpufreq_set_policy(). This can lead to two problems: - wrong errors propagated to sysfs - we try to do next state-change even if the previous one failed cpufreq_governor_dbs() now returns proper errors on all invalid state-transition requests and this code should honor that. Reviewed-and-tested-by: Preeti U Murthy <preeti@linux.vnet.ibm.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/acpi-cpufreq.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud