-
由 Arve Hjønnevåg 提交于
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: NArve Hjønnevåg <arve@android.com> Reviewed-by: NNeilBrown <neilb@suse.de> Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
4d7e30d9