From: Rafael J. Wysocki Date: Thu, 26 Feb 2015 23:39:56 +0000 (+0100) Subject: cpuidle / sleep: Do sanity checks in cpuidle_enter_freeze() too X-Git-Tag: omap-for-v4.1/wl12xx-dt~58^2~3^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31a3409065d1d5bf0f12ad76b8c7f471134bf596;p=pandora-kernel.git cpuidle / sleep: Do sanity checks in cpuidle_enter_freeze() too Modify cpuidle_enter_freeze() to do the sanity checks done by cpuidle_select() to avoid crashing the suspend-to-idle code path in case something is missing. Fixes: 381063133246 (PM / sleep: Re-implement suspend-to-idle handling) Original-by: Lorenzo Pieralisi Signed-off-by: Rafael J. Wysocki Acked-by: Peter Zijlstra (Intel) --- Reading git-diff-tree failed