android_kernel_motorola_sm6375/tools/power
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Laura Abbott c25badc9ce cpupower: Correct return type of cpu_power_is_cpu_online() in cpufreq-set
When converting to a shared library in ac5a181d06 ("cpupower: Add
cpuidle parts into library"), cpu_freq_cpu_exists() was converted to
cpupower_is_cpu_online(). cpu_req_cpu_exists() returned 0 on success and
-ENOSYS on failure whereas cpupower_is_cpu_online returns 1 on success.
Check for the correct return value in cpufreq-set.

Link: https://bugzilla.redhat.com/show_bug.cgi?id=1374212
Fixes: ac5a181d06 (cpupower: Add cpuidle parts into library)
Reported-by: Julian Seward <[email protected]>
Signed-off-by: Laura Abbott <[email protected]>
Acked-by: Thomas Renninger <[email protected]>
Cc: 4.7+ <[email protected]> # 4.7+
Signed-off-by: Rafael J. Wysocki <[email protected]>
2016-11-01 06:16:52 +01:00
..
acpi ACPICA: Cleanup for all string-to-integer conversions 2016-09-10 02:37:59 +02:00
cpupower cpupower: Correct return type of cpu_power_is_cpu_online() in cpufreq-set 2016-11-01 06:16:52 +01:00
x86 tools/power turbostat: Replace MSR_NHM_TURBO_RATIO_LIMIT 2016-07-07 15:31:59 +02:00