commit | 31a3409065d1d5bf0f12ad76b8c7f471134bf596 | [log] [tgz] |
---|---|---|
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Fri Feb 27 00:39:56 2015 +0100 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Sat Feb 28 23:46:39 2015 +0100 |
tree | 857d4b8dca6271110b933685db69540a2854ce05 | |
parent | 01e04f466e12e883907937eb04a9010533363f55 [diff] |
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 <lorenzo.pieralisi@arm.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>