summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuxi Sun <b36102@freescale.com>2011-10-12 12:17:02 +0800
committerAndy Voltz <andy.voltz@timesys.com>2012-03-09 11:26:44 -0500
commit31e394fe2acf6eab781a836d0014cd443c9c2bb1 (patch)
tree7c06a3aabb57abd8cd3591f315ab09086d79d2bc
parentb44861788843b0be3a87b918632d3249c5f938a0 (diff)
ENGR00159738 v4l2: correct wrong parameter when V4l2 set window size
Correct wrong parameter when call ipu_csi_set_window_size function Signed-off-by: Yuxi Sun <b36102@freescale.com> (cherry picked from commit c1cb33e5cbebb979967f74eecf55efe6a83884ab)
-rw-r--r--drivers/media/video/mxc/capture/mxc_v4l2_capture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/mxc/capture/mxc_v4l2_capture.c b/drivers/media/video/mxc/capture/mxc_v4l2_capture.c
index ded183911748..c030a39307ec 100644
--- a/drivers/media/video/mxc/capture/mxc_v4l2_capture.c
+++ b/drivers/media/video/mxc/capture/mxc_v4l2_capture.c
@@ -1594,7 +1594,7 @@ static int mxc_v4l_open(struct file *file)
pr_debug("On Open: Input to ipu size is %d x %d\n",
cam_fmt.fmt.pix.width, cam_fmt.fmt.pix.height);
ipu_csi_set_window_size(cam->crop_current.width,
- cam->crop_current.width,
+ cam->crop_current.height,
cam->csi);
ipu_csi_set_window_pos(cam->crop_current.left,
cam->crop_current.top,