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, 1 insertions, 2 deletions
diff --git a/isp/omap3isp.c b/isp/omap3isp.c
index 00b451b..ef6350a 100644
--- a/isp/omap3isp.c
+++ b/isp/omap3isp.c
@@ -646,11 +646,10 @@ static int omap3_isp_pipeline_try_format(struct omap3_isp_device *isp,
* much as possible on the sensor.
*/
if (pipe->scaler == OMAP3_ISP_SCALER_ISP)
- format = isp->sensor.format;
+ format = *ifmt;
else
format = *ofmt;
-
list_for_each_entry(sink, &pipe->entities, list) {
if (source == NULL) {
/* Configure the first entity in the pipeline with the