summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2012-10-23 04:50:52 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2012-10-24 16:44:57 +0200
commit619164a994c8d878249d6c1b8b16c27074a04209 (patch)
tree6288e03b61d846eb79f4e5ce1b6e36f002adf6f8
parent16dc774fe1e92f3b9239c59ad368b18d3300a7f1 (diff)
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 <laurent.pinchart@ideasonboard.com>
-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