]> code.ossystems Code Review - meta-freescale.git/blob
66711688f9e3ee77d5344d2300233827bcd95134
[meta-freescale.git] /
1 From 0fd61785f56c2785b471e1d2dd1071a480380c3f Mon Sep 17 00:00:00 2001
2 From: Yuxi Sun <b36102@freescale.com>
3 Date: Wed, 12 Oct 2011 12:17:02 +0800
4 Subject: [PATCH] ENGR00159738 v4l2: correct wrong parameter when V4l2 set window size
5
6 Correct wrong parameter when call ipu_csi_set_window_size function
7
8 Signed-off-by: Yuxi Sun <b36102@freescale.com>
9 (cherry picked from commit c1cb33e5cbebb979967f74eecf55efe6a83884ab)
10 ---
11  drivers/media/video/mxc/capture/mxc_v4l2_capture.c |    2 +-
12  1 files changed, 1 insertions(+), 1 deletions(-)
13
14 diff --git a/drivers/media/video/mxc/capture/mxc_v4l2_capture.c b/drivers/media/video/mxc/capture/mxc_v4l2_capture.c
15 index ded1839..c030a39 100644
16 --- a/drivers/media/video/mxc/capture/mxc_v4l2_capture.c
17 +++ b/drivers/media/video/mxc/capture/mxc_v4l2_capture.c
18 @@ -1594,7 +1594,7 @@ static int mxc_v4l_open(struct file *file)
19                 pr_debug("On Open: Input to ipu size is %d x %d\n",
20                                 cam_fmt.fmt.pix.width, cam_fmt.fmt.pix.height);
21                 ipu_csi_set_window_size(cam->crop_current.width,
22 -                                       cam->crop_current.width,
23 +                                       cam->crop_current.height,
24                                         cam->csi);
25                 ipu_csi_set_window_pos(cam->crop_current.left,
26                                         cam->crop_current.top,
27 -- 
28 1.5.4.4
29