On 06/19/2015 05:18 PM, Viresh Kumar wrote:
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.
Signed-off-by: Viresh Kumar viresh.kumar@linaro.org
Incorporating the nit in my previous reply to this patch would mean,
Reviewed-by: Preeti U Murthy preeti@linux.vnet.ibm.com