summaryrefslogtreecommitdiff
path: root/driver/fingerprint/fpc/fpc_sensor.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver/fingerprint/fpc/fpc_sensor.c')
-rw-r--r--driver/fingerprint/fpc/fpc_sensor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/fingerprint/fpc/fpc_sensor.c b/driver/fingerprint/fpc/fpc_sensor.c
index 9184492382..a15502521f 100644
--- a/driver/fingerprint/fpc/fpc_sensor.c
+++ b/driver/fingerprint/fpc/fpc_sensor.c
@@ -33,7 +33,7 @@ int fpc_fp_maintenance(uint16_t *error_state)
if (error_state == NULL)
return EC_ERROR_INVAL;
- rv = fp_sensor_maintenance((uint8_t *)&fp_buffer, &sensor_info);
+ rv = fp_sensor_maintenance(fp_buffer, &sensor_info);
CPRINTS("Maintenance took %d ms", time_since32(start) / MSEC);
if (rv != 0) {