TVP5150 creates 480 visible lines, but synchronisation signals for 486 visible lines. Signed-off-by: Philipp Zabel <p.zabel@xxxxxxxxxxxxxx> --- drivers/media/platform/imx/imx-ipuv3-csi.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/media/platform/imx/imx-ipuv3-csi.c b/drivers/media/platform/imx/imx-ipuv3-csi.c index d9326a8..dfa2daa 100644 --- a/drivers/media/platform/imx/imx-ipuv3-csi.c +++ b/drivers/media/platform/imx/imx-ipuv3-csi.c @@ -698,8 +698,14 @@ static int ipucsi_videobuf_start_streaming(struct vb2_queue *vq, unsigned int co ipu_csi_write(ipucsi, CSI_ACT_FRM_HEIGHT(yres) | CSI_ACT_FRM_WIDTH(xres), CSI_ACT_FRM_SIZE); - ipu_csi_write(ipucsi, CSI_OUT_FRM_CTRL_HSC(0) | CSI_OUT_FRM_CTRL_VSC(0), - CSI_OUT_FRM_CTRL); + /* FIXME */ + if (xres == 720 && yres == 480) { + ipu_csi_write(ipucsi, CSI_OUT_FRM_CTRL_HSC(0) | + CSI_OUT_FRM_CTRL_VSC(3), CSI_OUT_FRM_CTRL); + } else { + ipu_csi_write(ipucsi, CSI_OUT_FRM_CTRL_HSC(0) | + CSI_OUT_FRM_CTRL_VSC(0), CSI_OUT_FRM_CTRL); + } ret = media_entity_pipeline_start(&ipucsi->subdev.entity, &ipucsi->pipe); if (ret) -- 2.0.0.rc2 -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html