From 619164a994c8d878249d6c1b8b16c27074a04209 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Tue, 23 Oct 2012 04:50:52 +0200 Subject: isp: Use the requested input format for M2M pipelines Don't try to force the sensor format or the output format at the pipeline input when using memory-to-memory pipelines. Signed-off-by: Laurent Pinchart --- isp/omap3isp.c | 3 +-- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.3