From: Jean Pihet Date: Fri, 1 Jun 2012 15:11:06 +0000 (+0200) Subject: ARM: OMAP3: PM: cpuidle: default to C1 in next_valid_state X-Git-Tag: omap-devel-pm-for-v3.6~1^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=063a5d011698950c86a01044394105605556e92c;p=pandora-kernel.git ARM: OMAP3: PM: cpuidle: default to C1 in next_valid_state If the next state is no found in the next_valid_state function, fallback to the default value of C1 (which is state 0). This prevents the use of a bogus state -1 in the rest of the cpuidle code. Signed-off-by: Jean Pihet Signed-off-by: Kevin Hilman --- Reading git-diff-tree failed