[media] staging: media: davinci_vpfe: Fix indentation issue in vpfe_video.c
authorLeo Sperling <leosperling97@gmail.com>
Sun, 23 Oct 2016 12:02:23 +0000 (10:02 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 23 Nov 2016 15:58:49 +0000 (13:58 -0200)
This is a patch to the vpfe_video.c file that fixes an indentation
warning reported by checkpatch.pl

Signed-off-by: Leo Sperling <leosperling97@gmail.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/staging/media/davinci_vpfe/vpfe_video.c

index 117b6be2f3c4d346518b5976a1149358fb5cf62a..8fd3f7cd40d6481bbb4a9260b493d21d910db8f1 100644 (file)
@@ -1143,8 +1143,8 @@ static int vpfe_buffer_prepare(struct vb2_buffer *vb)
        /* Initialize buffer */
        vb2_set_plane_payload(vb, 0, video->fmt.fmt.pix.sizeimage);
        if (vb2_plane_vaddr(vb, 0) &&
-               vb2_get_plane_payload(vb, 0) > vb2_plane_size(vb, 0))
-                       return -EINVAL;
+           vb2_get_plane_payload(vb, 0) > vb2_plane_size(vb, 0))
+               return -EINVAL;
 
        addr = vb2_dma_contig_plane_dma_addr(vb, 0);
        /* Make sure user addresses are aligned to 32 bytes */