commit | 0a9270abe82b396bf6fa15c7eb39c3499452686a | [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 | e0ef05bb2c260e0441186dd8647dea531bb1daf3 [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>