aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_out.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <[email protected]>2014-04-20 23:43:01 +0200
committerRafael J. Wysocki <[email protected]>2014-04-21 23:39:59 +0200
commitf3f125324fc1b8500cd20a2907628f7e5d88a708 (patch)
tree7ce0e8e3fd0b7cbd151540a5c87e44a37e3a54b4 /net/lapb/lapb_out.c
parenta798c10faf62a505d24e5f6213fbaf904a39623f (diff)
PM / suspend: Make cpuidle work in the "freeze" state
The "freeze" system sleep state introduced by commit 7e73c5ae6e79 (PM: Introduce suspend state PM_SUSPEND_FREEZE) requires cpuidle to be functional when freeze_enter() is executed to work correctly (that is, to be able to save any more energy than runtime idle), but that is impossible after commit 8651f97bd951d (PM / cpuidle: System resume hang fix with cpuidle) which caused cpuidle to be paused in dpm_suspend_noirq() and resumed in dpm_resume_noirq(). To avoid that problem, add cpuidle_resume() and cpuidle_pause() to the beginning and the end of freeze_enter(), respectively. Reported-by: Zhang Rui <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]> Reviewed-by: Preeti U Murthy <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions