commit | 29e47d206aa3694b47ed94ceef66af992367bce9 | [log] [tgz] |
---|---|---|
author | Wing Li <wingers@google.com> | Wed Jun 28 14:03:21 2023 -0700 |
committer | Wing Li <wingers@google.com> | Mon Jul 10 14:13:24 2023 -0700 |
tree | 688397bc8759ea80fd275274ae5c8212cd224c31 | |
parent | bcff3652b1719cbfe562349188b2a3c8c60f5d45 [diff] |
fix(sc7280): update system suspend in OS-initiated mode This patch fixes system suspend in OS-initiated mode by setting the value of `last_at_pwrlvl` in the `psci_power_state_t` object to `PLAT_MAX_PWR_LVL`, which otherwise would result in undefined behavior. This is conditionally compiled into the build depending on the value of the `PSCI_OS_INIT_MODE` build option. Change-Id: Ib9ff606b7eebd8a8224891a0d239a4e13311fe2a Signed-off-by: Wing Li <wingers@google.com>