aboutsummaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorColin Cross2012-07-19 10:38:06 +0200
committerRafael J. Wysocki2012-07-19 10:38:06 +0200
commit064b021fbe470ecc9ca10f9f87af48c0fc0865fb (patch)
tree320c3753f42ebc97f86be30583508bfaa3e87e44 /block
parent11388c87d2abca1f01975ced28ce9eacea239104 (diff)
PM / Sleep: call early resume handlers when suspend_noirq fails
Commit cf579dfb82550e34de7ccf3ef090d8b834ccd3a9 (PM / Sleep: Introduce "late suspend" and "early resume" of devices) introduced a bug where suspend_late handlers would be called, but if dpm_suspend_noirq returned an error the early_resume handlers would never be called. All devices would end up on the dpm_late_early_list, and would never be resumed again. Fix it by calling dpm_resume_early when dpm_suspend_noirq returns an error. Signed-off-by: Colin Cross <ccross@android.com> Cc: stable@vger.kernel.org Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions