From: Lucas Stach Date: Fri, 24 Oct 2014 13:05:55 +0000 (+0200) Subject: cpufreq: cpufreq-dt: disable unsupported OPPs X-Git-Tag: omap-for-v3.19/fixes-not-urgent-part1~20^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=045ee45c4ff2422a6f47e9fad7dd6cb537de940c;p=pandora-kernel.git cpufreq: cpufreq-dt: disable unsupported OPPs If the regulator connected to the CPU voltage plane doesn't support an OPP specified voltage with the acceptable tolerance it's better to just disable the OPP instead of constantly failing the voltage scaling later on. Includes a fix to move initialization of opp_freq outside the loop to avoid an endless loop from Geert Uytterhoeven. Signed-off-by: Geert Uytterhoeven Signed-off-by: Lucas Stach Acked-by: Viresh Kumar Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed