From: Viresh Kumar Date: Sat, 18 Jul 2015 06:01:03 +0000 (+0530) Subject: cpufreq: propagate errors returned from __cpufreq_governor() X-Git-Tag: omap-for-v4.3/fixes-rc1~121^2~4^2~31^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4bc384ae6299d3f3a948efabda2a423e2a293ee0;p=pandora-kernel.git 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 Signed-off-by: Viresh Kumar Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed