Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d447afcf authored by jinqian's avatar jinqian Committed by Dyneteve
Browse files

power: validate wakeup source before activating it.



A rogue wakeup source not registered in wakeup_sources list is not visible
from wakeup_sources_stats_show. Check if the wakeup source is registered
properly by looking at the timer struct.

Signed-off-by: default avatarjinqian <jinqian@google.com>
Git-repo: https://android.googlesource.com/kernel/common.git


Signed-off-by: default avatarKaushal Kumar <kaushalk@codeaurora.org>
Signed-off-by: default avatarPranav Vashi <neobuddy89@gmail.com>
parent ebfd5635
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment