diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-10-26 16:39:39 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-10-27 14:20:00 +0200 |
commit | a89d53098dbde43f56e4d1e16ba5e24ef807c03b (patch) | |
tree | 833d4f86da2eb7541cd5277c84fcb236f697a44d /src/noise.c | |
parent | a57da43f66df71031713e440da54ec92206654c8 (diff) |
device: do not clear keys on sleep for PM_AUTOSLEEP
This way other devices that use Android style wakelocks will also have
the same semantics. We also move this logic into the handler so that
it's slightly cleaner and gives us some opportunity to leave a normal
comment.
Suggested-by: Theodore Ts'o <tytso@mit.edu>
Suggested-by: Andrew Lunn <andrew@lunn.ch>
Suggested-by: Sultan Alsawaf <sultanxda@gmail.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/noise.c')
0 files changed, 0 insertions, 0 deletions