Commit 0400bcc8 authored by Bastien Nocera's avatar Bastien Nocera

vfs*: Fix a number of typos

parent 76db6a5a
......@@ -577,7 +577,7 @@ static void activate_ssm(fpi_ssm *ssm, struct fp_dev *_dev, void *user_data)
vdev->need_report = 0;
}
/* Asyncronously enquire an interrupt */
/* Asynchronously enquire an interrupt */
vdev->transfer = fpi_usb_alloc();
vdev->transfer->flags |= LIBUSB_TRANSFER_FREE_TRANSFER;
libusb_fill_interrupt_transfer(vdev->transfer, usb_dev, 0x83,
......
......@@ -47,7 +47,7 @@
/* Minimum image height */
#define VFS_IMG_MIN_HEIGHT 200
/* Scan level thresold */
/* Scan level threshold */
#define VFS_IMG_SLT_BEGIN 768
#define VFS_IMG_SLT_END 64
#define VFS_IMG_SLT_LINES 4
......@@ -641,7 +641,7 @@ static int action_completed(struct fp_img_dev *dev)
#define offset(x, y) ((x) + ((y) * VFS_FRAME_SIZE))
/* Screen image to remove noise and find bottom line and height od image */
/* Screen image to remove noise and find bottom line and height of image */
static void img_screen(struct vfs101_dev *vdev)
{
int y, x, count, top;
......@@ -654,7 +654,7 @@ static void img_screen(struct vfs101_dev *vdev)
/* Image returned from sensor can contain many empty lines,
* for remove these lines compare byte 282-283 (scan level information)
* with two differents threshold, one for the begin of finger image and
* with two different thresholds, one for the begin of finger image and
* one for the end. To increase stability of the code use a counter
* of lines that satisfy the threshold.
*/
......@@ -700,7 +700,7 @@ static void img_screen(struct vfs101_dev *vdev)
vdev->height = top - vdev->bottom + 1;
/* Checkk max height */
/* Check max height */
if (vdev->height > VFS_IMG_MAX_HEIGHT)
vdev->height = VFS_IMG_MAX_HEIGHT;
......@@ -1178,7 +1178,7 @@ static void m_init_state(fpi_ssm *ssm, struct fp_dev *_dev, void *user_data)
switch (fpi_ssm_get_cur_state(ssm))
{
case M_INIT_0_RECV_DIRTY:
/* Recv eventualy dirty data */
/* Recv eventually dirty data */
vdev->ignore_error = TRUE;
async_recv(ssm, dev);
break;
......@@ -1463,7 +1463,7 @@ static void dev_deactivate(struct fp_img_dev *dev)
/* Reset active state */
vdev->active = FALSE;
/* Handle eventualy existing events */
/* Handle eventually existing events */
while (vdev->transfer)
fp_handle_events();
......
......@@ -109,7 +109,7 @@ typedef struct {
unsigned char scan[VFS301_FP_WIDTH];
/* A offseted, stretched, inverted copy of scan... probably could
/* A offsetted, stretched, inverted copy of scan... probably could
* serve finger motion speed detection?
* Seems to be subdivided to some 10B + 53B + 1B blocks */
unsigned char mirror[64];
......
......@@ -1147,7 +1147,7 @@ static const unsigned char vfs301_24[] = { /* 119 B */
*
* The contents of PACKET() inside this blob seems to be some kind
* of a micro-program, which specifies which columns contain what. LE seems
* to be used also here. Not neccessarily is 1 output column described
* to be used also here. Not necessarily is 1 output column described
* by 1 operation. For example the vfs301_line_t::sum section seems
* to perform 2 operations for each column - probably some kind of diff between
* input lines?
......
......@@ -405,7 +405,7 @@ submit_image(fpi_ssm *ssm,
g_slist_free_full(data->rows, g_free);
data->rows = NULL;
fp_dbg("Image captured, commiting");
fp_dbg("Image captured, committing");
fpi_imgdev_image_captured(dev, img);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment