summaryrefslogtreecommitdiffstats
path: root/include/hardware/fingerprint.h
diff options
context:
space:
mode:
authorSasha Levitskiy <sanek@google.com>2014-04-23 10:04:57 -0700
committerSasha Levitskiy <sanek@google.com>2014-04-23 10:05:57 -0700
commit3b9ee8d82f36a93cb499623d0409efebbb6de2bd (patch)
tree733036737e5f2e249d9ca9d49875f0b576826926 /include/hardware/fingerprint.h
parent449ebdd70fa8df58b03a9bd38deed2e53cb512a0 (diff)
downloadhardware_libhardware-3b9ee8d82f36a93cb499623d0409efebbb6de2bd.zip
hardware_libhardware-3b9ee8d82f36a93cb499623d0409efebbb6de2bd.tar.gz
hardware_libhardware-3b9ee8d82f36a93cb499623d0409efebbb6de2bd.tar.bz2
Hardware: Fingerprint: Fix the remove() argument, typos.
Change-Id: I99e8e2f24f0264c2217d67a75fe437756596053c Signed-off-by: Sasha Levitskiy <sanek@google.com>
Diffstat (limited to 'include/hardware/fingerprint.h')
-rw-r--r--include/hardware/fingerprint.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/hardware/fingerprint.h b/include/hardware/fingerprint.h
index acd96e2..c7497ea 100644
--- a/include/hardware/fingerprint.h
+++ b/include/hardware/fingerprint.h
@@ -35,11 +35,11 @@ typedef enum fingerprint_error {
typedef struct fingerprint_enroll {
uint32_t id;
- /* samples_remaining goes form N (no data collected, but N scans needed)
+ /* samples_remaining goes from N (no data collected, but N scans needed)
* to 0 (no more data is needed to build a template)
* If HAL fails to decrement samples_remaining between calls the client
* will declare template collection a failure and should abort the operation
- * by calling fingerprint_close() */
+ * by calling module->common.methods->close() */
uint32_t samples_remaining;
} fingerprint_enroll_t;
@@ -66,20 +66,20 @@ typedef struct fingerprint_device {
struct hw_device_t common;
/*
- * Figerprint enroll request:
+ * Fingerprint enroll request:
* Switches the HAL state machine to collect and store a new fingerprint
* template. Switches back as soon as enroll is complete
* (fingerprint_msg.type == FINGERPRINT_TEMPLATE_COLLECTING &&
* fingerprint_msg.data.enroll.samples_remaining == 0)
- * or after temeout_sec seconds.
+ * or after timeout_sec seconds.
*
* Function return: 0 if enrollment process can be successfully started
* -1 otherwise.
*/
- int (*enroll)(struct fingerprint_device *dev, unsigned timeout_sec);
+ int (*enroll)(struct fingerprint_device *dev, uint32_t timeout_sec);
/*
- * Figerprint remove request:
+ * Fingerprint remove request:
* deletes a fingerprint template.
* If the fingerprint id is 0 the entire template database will be removed.
*