From 3285125265a1975b477cf79c91bc95b443666dda Mon Sep 17 00:00:00 2001 From: Yuxi Sun Date: Wed, 12 Oct 2011 12:17:02 +0800 Subject: 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 --- drivers/media/video/mxc/capture/mxc_v4l2_capture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers') diff --git a/drivers/media/video/mxc/capture/mxc_v4l2_capture.c b/drivers/media/video/mxc/capture/mxc_v4l2_capture.c index 57f1d26e22f..90066d5f14b 100644 --- a/drivers/media/video/mxc/capture/mxc_v4l2_capture.c +++ b/drivers/media/video/mxc/capture/mxc_v4l2_capture.c @@ -1560,7 +1560,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->ipu, cam->crop_current.width, - cam->crop_current.width, + cam->crop_current.height, cam->csi); ipu_csi_set_window_pos(cam->ipu, cam->crop_current.left, cam->crop_current.top, -- cgit v1.2.3