cpuidle: Ignore interval prediction result when timer is shorter
authorTuukka Tikkanen <tuukka.tikkanen@linaro.org>
Wed, 14 Aug 2013 16:02:34 +0000 (19:02 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 22 Aug 2013 22:24:15 +0000 (00:24 +0200)
commit330647a9501fe8f93a8ae9361417e51ee0bebd7e
tree45c364ac0efbe01caee7ee41ca9b6b5c5b25d029
parent81455e72211e41972cca1d4686bc07b2e93b81e1
cpuidle: Ignore interval prediction result when timer is shorter

This patch prevents cpuidle menu governor from using repeating interval
prediction result if the idle period predicted is longer than the one
allowed by shortest running timer.

Signed-off-by: Tuukka Tikkanen <tuukka.tikkanen@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpuidle/governors/menu.c