summaryrefslogtreecommitdiffstats
path: root/drivers/cpuidle/driver.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-02-27 00:39:56 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-02-28 23:46:39 +0100
commit31a3409065d1d5bf0f12ad76b8c7f471134bf596 (patch)
tree857d4b8dca6271110b933685db69540a2854ce05 /drivers/cpuidle/driver.c
parentidle / sleep: Avoid excessive disabling and enabling interrupts (diff)
downloadlinux-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