diff options
| author | Viresh Kumar <[email protected]> | 2015-07-18 06:01:03 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2015-07-20 23:12:02 +0000 |
| commit | 4bc384ae6299d3f3a948efabda2a423e2a293ee0 (patch) | |
| tree | 4b9381ad3936ab9127a5c00bdd03a74809453157 /drivers/xen/xen-acpi-processor.c | |
| parent | cpufreq: governor: Don't WARN on invalid states (diff) | |
| download | kernel-4bc384ae6299d3f3a948efabda2a423e2a293ee0.tar.gz kernel-4bc384ae6299d3f3a948efabda2a423e2a293ee0.zip | |
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 <[email protected]>
Signed-off-by: Viresh Kumar <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/xen/xen-acpi-processor.c')
0 files changed, 0 insertions, 0 deletions
