diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-02-27 00:39:56 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-02-28 23:46:39 +0100 |
commit | 31a3409065d1d5bf0f12ad76b8c7f471134bf596 (patch) | |
tree | 857d4b8dca6271110b933685db69540a2854ce05 /drivers/cpuidle/driver.c | |
parent | idle / sleep: Avoid excessive disabling and enabling interrupts (diff) | |
download | linux-31a3409065d1d5bf0f12ad76b8c7f471134bf596.tar.xz linux-31a3409065d1d5bf0f12ad76b8c7f471134bf596.zip |
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>
Diffstat (limited to 'drivers/cpuidle/driver.c')
0 files changed, 0 insertions, 0 deletions