Files
ubports_kernel_google_msm/drivers/base
Devin Kim 43e28b253f PM / Sleep: Prevent waiting forever on asynchronous suspend after abort
commit 1f758b23177d588a71b96ad02990e715949bb82f upstream.

__device_suspend() must always send a completion. Otherwise, parent
devices will wait forever.

Commit 1e2ef05b, "PM: Limit race conditions between runtime PM and
system sleep (v2)", introduced a regression by short-circuiting the
complete_all() for certain error cases.

This patch fixes the bug by always signalling a completion.

Addresses http://crosbug.com/31972

Tested by injecting an abort.

Change-Id: I1402360f8af760cfdf66f8830bd8db4b1b676c47
Signed-off-by: Mandeep Singh Baines <msb@chromium.org>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-03-04 12:44:13 -08:00
..
2013-02-25 11:29:18 -08:00
2012-03-09 12:35:53 -08:00
2012-05-22 14:01:06 -07:00
2012-03-14 07:44:11 +01:00
2010-05-21 09:37:29 -07:00
2012-05-30 13:12:40 -07:00
2013-02-25 11:29:18 -08:00