summaryrefslogtreecommitdiff
path: root/drivers/staging/media
diff options
context:
space:
mode:
authorLeo Sperling <leosperling97@gmail.com>2016-10-23 15:02:23 +0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-11-23 18:58:49 +0300
commiteb02cadc5ca0d9753510cded8b9afc57c37be4e0 (patch)
tree2e2065b4cb549b11d9bd39e8b8cc406fc0d5dbaa /drivers/staging/media
parenta3283fb2165fdfd71a894332284ed59239a27872 (diff)
downloadlinux-eb02cadc5ca0d9753510cded8b9afc57c37be4e0.tar.xz
[media] staging: media: davinci_vpfe: Fix indentation issue in vpfe_video.c
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>
Diffstat (limited to 'drivers/staging/media')
-rw-r--r--drivers/staging/media/davinci_vpfe/vpfe_video.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/media/davinci_vpfe/vpfe_video.c b/drivers/staging/media/davinci_vpfe/vpfe_video.c
index 117b6be2f3c4..8fd3f7cd40d6 100644
--- a/drivers/staging/media/davinci_vpfe/vpfe_video.c
+++ b/drivers/staging/media/davinci_vpfe/vpfe_video.c
@@ -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 */