From 3d2a1c9fb1ebb38a0e5ca291e237d569da3bb904 Mon Sep 17 00:00:00 2001 From: Tristan Honscheid Date: Fri, 2 Sep 2022 16:16:25 -0600 Subject: 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 Change-Id: Ic5d927fe830acbd9f6f33a0e436d6ed7c4301fce Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3872728 Reviewed-by: Yuval Peress Code-Coverage: Zoss --- power/qcom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'power') 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); -- cgit v1.2.1