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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 */
+1 −1
Original line number Diff line number Diff line
@@ -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;

+1 −1
Original line number Diff line number Diff line
@@ -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 */
+1 −1
Original line number Diff line number Diff line
@@ -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--;

+1 −1
Original line number Diff line number Diff line
@@ -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 = {