Commit 4b129dc9 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

media: common: fix several typos

Use codespell to fix lots of typos over frontends.

Manually verified to avoid false-positives.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent 4faf7066
...@@ -796,7 +796,7 @@ static int vidioc_s_fmt_vid_overlay(struct file *file, void *__fh, struct v4l2_f ...@@ -796,7 +796,7 @@ static int vidioc_s_fmt_vid_overlay(struct file *file, void *__fh, struct v4l2_f
return -EFAULT; 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; vv->ov.fh = fh;
/* check if our current overlay is active */ /* check if our current overlay is active */
......
...@@ -311,7 +311,7 @@ int sms_board_led_feedback(struct smscore_device_t *coredev, int led) ...@@ -311,7 +311,7 @@ int sms_board_led_feedback(struct smscore_device_t *coredev, int led)
int board_id = smscore_get_board_id(coredev); int board_id = smscore_get_board_id(coredev);
struct sms_board *board = sms_get_board(board_id); 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) if (smscore_led_state(coredev, -1) == led)
return 0; return 0;
......
...@@ -750,7 +750,7 @@ struct sms_stats { ...@@ -750,7 +750,7 @@ struct sms_stats {
u32 num_of_corrected_mpe_tlbs;/* Number of MPE tables which were u32 num_of_corrected_mpe_tlbs;/* Number of MPE tables which were
corrected by MPE RS decoding */ corrected by MPE RS decoding */
/* Common params */ /* 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. */ u32 ber_bit_count; /* Total number of SYNC bits. */
/* Interface information */ /* Interface information */
......
...@@ -67,7 +67,7 @@ static int vb2_dma_sg_alloc_compacted(struct vb2_dma_sg_buf *buf, ...@@ -67,7 +67,7 @@ static int vb2_dma_sg_alloc_compacted(struct vb2_dma_sg_buf *buf,
int i; int i;
order = get_order(size); order = get_order(size);
/* Dont over allocate*/ /* Don't over allocate*/
if ((PAGE_SIZE << order) > size) if ((PAGE_SIZE << order) > size)
order--; order--;
......
...@@ -121,7 +121,7 @@ static void vb2_common_vm_close(struct vm_area_struct *vma) ...@@ -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 * video buffers
*/ */
const struct vm_operations_struct vb2_common_vm_ops = { const struct vm_operations_struct vb2_common_vm_ops = {
......
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