linux: Make sure unknown poll lasts 5 seconds

System Internals / UPower - Bastien Nocera [hadess.net] - 19 June 2018 13:01 UTC

Rather than 5 calls to up_device_supply_setup_unknown_poll(), which can happen pretty quickly together after receiving a uevent.

79017e4 linux: Make sure unknown poll lasts 5 seconds
src/linux/up-device-supply.c | 22 ++++++++++++++--------
1 file changed, 14 insertions(+), 8 deletions(-)

Upstream: cgit.freedesktop.org


  • Share