summaryrefslogtreecommitdiff
path: root/include/fpsensor_state.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/fpsensor_state.h')
-rw-r--r--include/fpsensor_state.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/fpsensor_state.h b/include/fpsensor_state.h
index a07f7a683d..d11af693b5 100644
--- a/include/fpsensor_state.h
+++ b/include/fpsensor_state.h
@@ -96,4 +96,13 @@ int fp_get_next_event(uint8_t *out);
*/
int fp_tpm_seed_is_set(void);
+/**
+ * Change the sensor mode.
+ *
+ * @param mode new mode to change to
+ * @param mode_output resulting mode
+ * @return EC_RES_SUCCESS on success. Error code on failure.
+ */
+int fp_set_sensor_mode(uint32_t mode, uint32_t *mode_output);
+
#endif /* __CROS_EC_FPSENSOR_STATE_H */