diff options
author | Yuxi Sun <b36102@freescale.com> | 2011-10-12 12:17:02 +0800 |
---|---|---|
committer | Jason Liu <r64343@freescale.com> | 2012-01-09 20:23:55 +0800 |
commit | 11a361eb44dfdd670a05590358e89810699c2264 (patch) | |
tree | a3339bffb47719d79215674eb2d55f7494de97db /drivers/media/video | |
parent | e38956d5ef3de31fe7dc00357becd71e8f13689c (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/media/video')
-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 57f1d26e22fa..90066d5f14bd 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, |