diff options
author | Yuxi Sun <b36102@freescale.com> | 2011-10-12 12:17:02 +0800 |
---|---|---|
committer | Eric Miao <eric.miao@canonical.com> | 2011-11-10 07:38:46 +0800 |
commit | 3285125265a1975b477cf79c91bc95b443666dda (patch) | |
tree | 0fa2950f07dd346af252978e03f38995f688c29e /drivers | |
parent | eb0215b98cf96da8d1833a133fec8b1e1f5f3dbb (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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/video/mxc/capture/mxc_v4l2_capture.c | 2 |
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 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, |