Please sign in to comment.
PM / Sleep: Prevent waiting forever on asynchronous suspend after abort
commit 1f758b2 upstream. __device_suspend() must always send a completion. Otherwise, parent devices will wait forever. Commit 1e2ef05, "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. Signed-off-by: Mandeep Singh Baines <firstname.lastname@example.org> Signed-off-by: Rafael J. Wysocki <email@example.com> Signed-off-by: Ben Hutchings <firstname.lastname@example.org>
- Loading branch information...