commit | 4cc727a5900bc7473b8c0f3b075c6ae63d91e0f9 | [log] [tgz] |
---|---|---|
author | Jone Chou <jonechou@google.com> | Tue Jun 07 17:08:40 2022 +0800 |
committer | Jone Chou <jonechou@google.com> | Tue Jun 07 16:39:41 2022 +0000 |
tree | efe9aa91c49b91bc6068e574682769b9b48664c2 | |
parent | 6f235f990267f424191b52bc7fd750732f9080d3 [diff] |
power: reset: power key detection only when power off 1. In power off flow: - detect power key is really released - execute acpm_prepare_reboot - AOSP send SMC to TF-A to do real power off action. 2. In cold reboot flow: - skip power key detection - execute acpm_prepare_reboot - AOSP send SMC to TF-A to do real cold reboot action Bug: 234066226 Signed-off-by: Jone Chou <jonechou@google.com> Change-Id: Id9ace2c2b8a9841f5f5ac978b8650cad793c0d7a