From: Leonid V. Fedorenchik Date: Sat, 22 Oct 2011 04:43:51 +0000 (-0300) Subject: [media] cx25821-video.c: Fix assignment X-Git-Tag: upstream/snapshot3+hdmi~7520^2~622 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a1937e191906c612e5675e52dd86c5a4b1d44a81;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git [media] cx25821-video.c: Fix assignment Change double assignment in one statement into two assignment statements. Signed-off-by: Leonid V. Fedorenchik Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/cx25821/cx25821-video.c b/drivers/media/video/cx25821/cx25821-video.c index df4f5b1..4cca7ee 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 =