diff options
author | Tristan Honscheid <honscheid@google.com> | 2022-09-02 16:16:25 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-09-09 17:59:11 +0000 |
commit | 3d2a1c9fb1ebb38a0e5ca291e237d569da3bb904 (patch) | |
tree | 38b55d5844d1c1b565371eff6110cafac68b1b85 /power | |
parent | 3e456353c4f4f1c1c26c42ed6ac0298d04294971 (diff) | |
download | chrome-ec-3d2a1c9fb1ebb38a0e5ca291e237d569da3bb904.tar.gz |
zephyr: tests: Test handling of special key combos in `keyboard_scan.c`
Test that VOL_UP + ALT + {R|H} cause AP reboot and hibernate,
respectively.
BRANCH=None
BUG=b:244606945
TEST=./twister
Signed-off-by: Tristan Honscheid <honscheid@google.com>
Change-Id: Ic5d927fe830acbd9f6f33a0e436d6ed7c4301fce
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3872728
Reviewed-by: Yuval Peress <peress@google.com>
Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
Diffstat (limited to 'power')
-rw-r--r-- | power/qcom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/power/qcom.c b/power/qcom.c index 6a98350814..f144468970 100644 --- a/power/qcom.c +++ b/power/qcom.c @@ -887,7 +887,7 @@ static void check_for_warm_reset_event(void) } } -void chipset_reset(enum chipset_shutdown_reason reason) +test_mockable void chipset_reset(enum chipset_shutdown_reason reason) { CPRINTS("%s(%d)", __func__, reason); report_ap_reset(reason); |