]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[media] s5p-mfc: fix spelling errors
authorIngi Kim <ingi2.kim@samsung.com>
Fri, 2 Oct 2015 09:00:17 +0000 (06:00 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 20 Oct 2015 16:37:54 +0000 (14:37 -0200)
This patch fixes spelling errors in mfc encoder.
inavild -> invaild

Signed-off-by: Ingi Kim <ingi2.kim@samsung.com>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/s5p-mfc/s5p_mfc_enc.c

index 94868f7214da703f290bf6e5072acb1c65cda8bc..0d705219ec12e43702ccac6001400e161e5513f8 100644 (file)
@@ -1826,7 +1826,7 @@ static int s5p_mfc_queue_setup(struct vb2_queue *vq,
 
        if (vq->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) {
                if (ctx->state != MFCINST_GOT_INST) {
-                       mfc_err("inavlid state: %d\n", ctx->state);
+                       mfc_err("invalid state: %d\n", ctx->state);
                        return -EINVAL;
                }
 
@@ -1866,7 +1866,7 @@ static int s5p_mfc_queue_setup(struct vb2_queue *vq,
                                ctx->dev->alloc_ctx[MFC_BANK2_ALLOC_CTX];
                }
        } else {
-               mfc_err("inavlid queue type: %d\n", vq->type);
+               mfc_err("invalid queue type: %d\n", vq->type);
                return -EINVAL;
        }
        return 0;
@@ -1901,7 +1901,7 @@ static int s5p_mfc_buf_init(struct vb2_buffer *vb)
                                        vb2_dma_contig_plane_dma_addr(vb, 1);
                ctx->src_bufs_cnt++;
        } else {
-               mfc_err("inavlid queue type: %d\n", vq->type);
+               mfc_err("invalid queue type: %d\n", vq->type);
                return -EINVAL;
        }
        return 0;
@@ -1937,7 +1937,7 @@ static int s5p_mfc_buf_prepare(struct vb2_buffer *vb)
                        return -EINVAL;
                }
        } else {
-               mfc_err("inavlid queue type: %d\n", vq->type);
+               mfc_err("invalid queue type: %d\n", vq->type);
                return -EINVAL;
        }
        return 0;