diff options
author | Wai-Hong Tam <waihong@google.com> | 2022-01-26 13:08:43 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2022-01-27 19:30:58 +0000 |
commit | 558c097b5949aadb1ff0eee0703dd846fbb011d7 (patch) | |
tree | 7f26456428a24073a8d093e9b648070185835dfe /include/usb_mode.h | |
parent | 00cb34b31d97ed44f2f8db97511abc7fe3c158a7 (diff) | |
download | chrome-ec-558c097b5949aadb1ff0eee0703dd846fbb011d7.tar.gz |
qcom: Move the execution of warm reset to CHIPSET context
In CrOS EC, the `apreset` command is executed in the CONSOLE
context. But in Zephyr, the command is executed in the lowest
priority task context. This low priority task is easily
preempted and makes the power signal missing. This miss is
wrongly treated as the PMIC not respond correctly and trigger
a cold reset sequence: S0 -> S5 -> S0.
This CL moves the execution to the CHIPSET task context. It
is now independent from the console runtime.
BRANCH=None
BUG=b:215252361
TEST=Call the `apreset` command, just a warm reset triggered.
Change-Id: I2be65db46b453421c2a04d10a75c01dbf16f1f89
Signed-off-by: Wai-Hong Tam <waihong@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3418118
Reviewed-by: Alexandru Stan <amstan@chromium.org>
Diffstat (limited to 'include/usb_mode.h')
0 files changed, 0 insertions, 0 deletions