summaryrefslogtreecommitdiff
path: root/proto_ip_esp.c
diff options
context:
space:
mode:
Diffstat (limited to 'proto_ip_esp.c')
0 files changed, 0 insertions, 0 deletions
1231c6503b01236 /include/linux/power_supply.h parenta2c0206ad6a32b9f7287c87f20060ba59222f3b3 (diff)
power_supply: Prevent suspend until power supply events are processed
This patch, originally authored by Arve Hjonnevag and Todd Poynor, prevents the system from entering suspend mode until the power supply plug, unplug, or any other change of state event is fully processed. This guarantees that the screen lights up and displays the battery charging state. The implementation uses the power supply wakeup_source object. Cc: David Woodhouse <dwmw2@infradead.org> Cc: Arve Hjonnevag <arve@android.com> Cc: Todd Poynor <toddpoynor@google.com> Cc: John Stultz <john.stultz@linaro.org> Signed-off-by: Zoran Markovic <zoran.markovic@linaro.org> Signed-off-by: Anton Vorontsov <anton@enomsg.org>
Diffstat (limited to 'include/linux/power_supply.h')