From: Rafael J. Wysocki Date: Wed, 30 Apr 2014 22:14:04 +0000 (+0200) Subject: cpuidle / menu: Return (-1) if there are no suitable states X-Git-Tag: omap-for-v3.16/fixes-against-rc1~33^2~35^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3836785a1bdcd6706c68ad46bf53adc0b057b310;p=pandora-kernel.git cpuidle / menu: Return (-1) if there are no suitable states If there is a PM QoS latency limit and all of the sufficiently shallow C-states are disabled, the cpuidle menu governor returns 0 which on some systems is CPUIDLE_DRIVER_STATE_START and shouldn't be returned if that C-state has been disabled. Fix the issue by modifying the menu governor to return (-1) in such situations. Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed