+87
−3
+12
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
When an epoll_event, that has the EPOLLWAKEUP flag set, is ready, a wakeup_source will be active to prevent suspend. This can be used to handle wakeup events from a driver that support poll, e.g. input, if that driver wakes up the waitqueue passed to epoll before allowing suspend. Signed-off-by:Arve Hjønnevåg <arve@android.com> Reviewed-by:
NeilBrown <neilb@suse.de> Signed-off-by:
Rafael J. Wysocki <rjw@sisk.pl>