summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--isp/omap3isp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/isp/omap3isp.c b/isp/omap3isp.c
index eb5d2e8..00b451b 100644
--- a/isp/omap3isp.c
+++ b/isp/omap3isp.c
@@ -714,8 +714,8 @@ static int omap3_isp_pipeline_try_format(struct omap3_isp_device *isp,
/* If crop is not requested, reset the crop rectangle on the
* sensor to its default value.
*/
- source->source.crop.width = format.width;
- source->source.crop.height = format.height;
+ source->source.crop.width = ifmt->width;
+ source->source.crop.height = ifmt->height;
}
/* Try to force the output format code onto the source pad. */