aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/video/cx25821
diff options
context:
space:
mode:
authorLeonid V. Fedorenchik <leonidsbox@gmail.com>2011-10-22 01:43:51 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-11-24 19:00:57 -0200
commita1937e191906c612e5675e52dd86c5a4b1d44a81 (patch)
tree8afcfd515621e7e9e1af14e5eb03cb846b1a8a10 /drivers/media/video/cx25821
parent1316b63ccde5bed161c6e346cc8f1752bd5c83cc (diff)
[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 df4f5b1b114..4cca7ee7598 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 =