diff options
author | Richard Liu <r66033@freescale.com> | 2012-01-04 17:32:07 +0800 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2012-03-14 23:18:15 -0500 |
commit | d1da121bf06cb08e49485dbe419f5c5336d567b8 (patch) | |
tree | 0735a6c6af3ad430a1758e484c889584e7ac6f96 | |
parent | e01f43c2d2cfce369ed664be63082c4d7f4d936a (diff) |
ENGR00171269 fix gingerbread camera cts fail.
fix gingerbread camera cts fail.
Signed-off-by: Richard Liu <r66033@freescale.com>
-rw-r--r-- | drivers/media/video/mxc/capture/ov5642.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/mxc/capture/ov5642.c b/drivers/media/video/mxc/capture/ov5642.c index 545d9ca7240b..7d487f7dacf0 100644 --- a/drivers/media/video/mxc/capture/ov5642.c +++ b/drivers/media/video/mxc/capture/ov5642.c @@ -2272,6 +2272,8 @@ static int ioctl_s_parm(struct v4l2_int_device *s, struct v4l2_streamparm *a) } ret = ov5642_change_mode(frame_rate, a->parm.capture.capturemode, sensor->streamcap.capturemode); + if (ret < 0) + return ret; sensor->streamcap.timeperframe = *timeperframe; sensor->streamcap.capturemode = (u32)a->parm.capture.capturemode; |