summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx25821
diff options
context:
space:
mode:
authorLeonid V. Fedorenchik2011-10-22 06:43:51 +0200
committerMauro Carvalho Chehab2011-11-24 22:00:57 +0100
commita1937e191906c612e5675e52dd86c5a4b1d44a81 (patch)
tree8afcfd515621e7e9e1af14e5eb03cb846b1a8a10 /drivers/media/video/cx25821
parent[media] cx25821-video.c: Change spaces (diff)
downloadkernel-qcow2-linux-a1937e191906c612e5675e52dd86c5a4b1d44a81.tar.gz
kernel-qcow2-linux-a1937e191906c612e5675e52dd86c5a4b1d44a81.tar.xz
kernel-qcow2-linux-a1937e191906c612e5675e52dd86c5a4b1d44a81.zip
[media] cx25821-video.c: Fix assignment
Change double assignment in one statement into two assignment statements. Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx25821')
-rw-r--r--drivers/media/video/cx25821/cx25821-video.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/video/cx25821/cx25821-video.c b/drivers/media/video/cx25821/cx25821-video.c
index df4f5b1b114f..4cca7ee75984 100644
--- a/drivers/media/video/cx25821/cx25821-video.c
+++ b/drivers/media/video/cx25821/cx25821-video.c
@@ -1622,7 +1622,8 @@ int cx25821_vidioc_cropcap(struct file *file, void *priv,
if (cropcap->type != V4L2_BUF_TYPE_VIDEO_CAPTURE)
return -EINVAL;
- cropcap->bounds.top = cropcap->bounds.left = 0;
+ cropcap->bounds.top = 0;
+ cropcap->bounds.left = 0;
cropcap->bounds.width = 720;
cropcap->bounds.height = dev->tvnorm == V4L2_STD_PAL_BG ? 576 : 480;
cropcap->pixelaspect.numerator =