Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PM / Autosleep: add timeout after exiting suspend
By adding uninterruptible timeout after exiting suspend, it avoids entering new automatic suspend without any delay. This allows to other processes to respond to the exit from suspend and is required in some cases to make automatic suspend to work and not get cancelled by wakelocks filed by other threads during the next suspend attempt.
- Loading branch information
6ed1fe4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could this go to upstream?
6ed1fe4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think so, it is a hack. Let's see if we need it on 4.14