Commit f6375eaf authored by Ingi Kim's avatar Ingi Kim Committed by Mauro Carvalho Chehab

[media] s5p-mfc: fix spelling errors

This patch fixes spelling errors in mfc encoder.
inavild -> invaild
Signed-off-by: default avatarIngi Kim <ingi2.kim@samsung.com>
Signed-off-by: default avatarKamil Debski <k.debski@samsung.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent 418dae22
...@@ -1826,7 +1826,7 @@ static int s5p_mfc_queue_setup(struct vb2_queue *vq, ...@@ -1826,7 +1826,7 @@ static int s5p_mfc_queue_setup(struct vb2_queue *vq,
if (vq->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) { if (vq->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) {
if (ctx->state != MFCINST_GOT_INST) { if (ctx->state != MFCINST_GOT_INST) {
mfc_err("inavlid state: %d\n", ctx->state); mfc_err("invalid state: %d\n", ctx->state);
return -EINVAL; return -EINVAL;
} }
...@@ -1866,7 +1866,7 @@ static int s5p_mfc_queue_setup(struct vb2_queue *vq, ...@@ -1866,7 +1866,7 @@ static int s5p_mfc_queue_setup(struct vb2_queue *vq,
ctx->dev->alloc_ctx[MFC_BANK2_ALLOC_CTX]; ctx->dev->alloc_ctx[MFC_BANK2_ALLOC_CTX];
} }
} else { } else {
mfc_err("inavlid queue type: %d\n", vq->type); mfc_err("invalid queue type: %d\n", vq->type);
return -EINVAL; return -EINVAL;
} }
return 0; return 0;
...@@ -1901,7 +1901,7 @@ static int s5p_mfc_buf_init(struct vb2_buffer *vb) ...@@ -1901,7 +1901,7 @@ static int s5p_mfc_buf_init(struct vb2_buffer *vb)
vb2_dma_contig_plane_dma_addr(vb, 1); vb2_dma_contig_plane_dma_addr(vb, 1);
ctx->src_bufs_cnt++; ctx->src_bufs_cnt++;
} else { } else {
mfc_err("inavlid queue type: %d\n", vq->type); mfc_err("invalid queue type: %d\n", vq->type);
return -EINVAL; return -EINVAL;
} }
return 0; return 0;
...@@ -1937,7 +1937,7 @@ static int s5p_mfc_buf_prepare(struct vb2_buffer *vb) ...@@ -1937,7 +1937,7 @@ static int s5p_mfc_buf_prepare(struct vb2_buffer *vb)
return -EINVAL; return -EINVAL;
} }
} else { } else {
mfc_err("inavlid queue type: %d\n", vq->type); mfc_err("invalid queue type: %d\n", vq->type);
return -EINVAL; return -EINVAL;
} }
return 0; return 0;
......
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