summaryrefslogtreecommitdiff
path: root/driver/fingerprint/fpc/libfp/fpc_private.c
diff options
context:
space:
mode:
authorKevin Shelton <kmshelton@chromium.org>2020-07-21 14:40:15 -0700
committerCommit Bot <commit-bot@chromium.org>2021-05-08 00:48:06 +0000
commit89d35ca465a8053b26ac8158a992c6098fc37ac1 (patch)
tree481de9154b3cec08697ddd4b89e91d1b9b192b24 /driver/fingerprint/fpc/libfp/fpc_private.c
parentceb21b1f8379cd5c481ba118c68d94e61ac925cb (diff)
downloadchrome-ec-89d35ca465a8053b26ac8158a992c6098fc37ac1.tar.gz
fingerprint: Add test that reads hwid
BUG=b:157576189 BRANCH=none TEST=make buildall -j, Using dragonclaw v0.2 and servo_micro: ./test/run_device_test.py -t fpsensor_hw --flasher=servo_micro, Using icetower and servo_micro: ./test/run_device_test.py -t fpsensor_wh --flasher=servo_micro --board dartmonkey; note: the testrunner hung after printing Test "fpsensor_hw": PASSED, but this hang seems unrelated Cq-Depend: chromium:2872432 Change-Id: I2a3b31776cd40d7f0b422f4845869953b8f07249 Signed-off-by: Kevin Shelton <kmshelton@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2314101 Reviewed-by: Tom Hughes <tomhughes@chromium.org>
Diffstat (limited to 'driver/fingerprint/fpc/libfp/fpc_private.c')
-rw-r--r--driver/fingerprint/fpc/libfp/fpc_private.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/fingerprint/fpc/libfp/fpc_private.c b/driver/fingerprint/fpc/libfp/fpc_private.c
index 8c11849c8f..623f110187 100644
--- a/driver/fingerprint/fpc/libfp/fpc_private.c
+++ b/driver/fingerprint/fpc/libfp/fpc_private.c
@@ -97,7 +97,7 @@ void fp_sensor_low_power(void)
fpc_send_cmd(FPC_CMD_SLEEP);
}
-static int fpc_check_hwid(void)
+int fpc_check_hwid(void)
{
uint16_t id;
int rc;