media: common: fix several typos
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 18 Feb 2019 19:29:05 +0000 (14:29 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 1 Mar 2019 14:44:48 +0000 (09:44 -0500)
Use codespell to fix lots of typos over frontends.

Manually verified to avoid false-positives.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/common/saa7146/saa7146_video.c
drivers/media/common/siano/sms-cards.c
drivers/media/common/siano/smscoreapi.h
drivers/media/common/videobuf2/videobuf2-dma-sg.c
drivers/media/common/videobuf2/videobuf2-memops.c

index f90aa81..a0f0b5e 100644 (file)
@@ -796,7 +796,7 @@ static int vidioc_s_fmt_vid_overlay(struct file *file, void *__fh, struct v4l2_f
                return -EFAULT;
        }
 
-       /* vv->ov.fh is used to indicate that we have valid overlay informations, too */
+       /* vv->ov.fh is used to indicate that we have valid overlay information, too */
        vv->ov.fh = fh;
 
        /* check if our current overlay is active */
index af6b226..e238c9b 100644 (file)
@@ -311,7 +311,7 @@ int sms_board_led_feedback(struct smscore_device_t *coredev, int led)
        int board_id = smscore_get_board_id(coredev);
        struct sms_board *board = sms_get_board(board_id);
 
-       /* dont touch GPIO if LEDs are already set */
+       /* don't touch GPIO if LEDs are already set */
        if (smscore_led_state(coredev, -1) == led)
                return 0;
 
index eb58853..476fa7a 100644 (file)
@@ -750,7 +750,7 @@ struct sms_stats {
        u32 num_of_corrected_mpe_tlbs;/* Number of MPE tables which were
        corrected by MPE RS decoding */
        /* Common params */
-       u32 ber_error_count;    /* Number of errornous SYNC bits. */
+       u32 ber_error_count;    /* Number of erroneous SYNC bits. */
        u32 ber_bit_count;      /* Total number of SYNC bits. */
 
        /* Interface information */
index f02876d..270c316 100644 (file)
@@ -67,7 +67,7 @@ static int vb2_dma_sg_alloc_compacted(struct vb2_dma_sg_buf *buf,
                int i;
 
                order = get_order(size);
-               /* Dont over allocate*/
+               /* Don't over allocate*/
                if ((PAGE_SIZE << order) > size)
                        order--;
 
index 89e5198..c4a85be 100644 (file)
@@ -121,7 +121,7 @@ static void vb2_common_vm_close(struct vm_area_struct *vma)
 }
 
 /*
- * vb2_common_vm_ops - common vm_ops used for tracking refcount of mmaped
+ * vb2_common_vm_ops - common vm_ops used for tracking refcount of mmapped
  * video buffers
  */
 const struct vm_operations_struct vb2_common_vm_ops = {