summaryrefslogtreecommitdiff
path: root/isp/omap3isp.c
diff options
context:
space:
mode:
Diffstat (limited to 'isp/omap3isp.c')
-rw-r--r--isp/omap3isp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/isp/omap3isp.c b/isp/omap3isp.c
index 7da0bf2..20ef13d 100644
--- a/isp/omap3isp.c
+++ b/isp/omap3isp.c
@@ -1120,6 +1120,7 @@ static int omap3_isp_viewfinder_setup_pipeline(struct omap3_isp_device *isp)
}
int omap3_isp_viewfinder_setup(struct omap3_isp_device *isp,
+ struct v4l2_rect *crop,
struct v4l2_mbus_framefmt *ofmt)
{
struct omap3_isp_pool *pool;
@@ -1149,7 +1150,7 @@ int omap3_isp_viewfinder_setup(struct omap3_isp_device *isp,
/* Try the format. */
ret = omap3_isp_pipeline_try_format(isp, &isp->viewfinder,
- &isp->sensor.format, ofmt, NULL);
+ &isp->sensor.format, ofmt, crop);
if (ret < 0)
return ret;