The i.MX6 MIPI CSI2 bridge converts the external MIPI CSI2 input into
a SoC internal parallel bus connected to the IPU CSIs via the CSI2IPU
gasket.

Signed-off-by: Philipp Zabel <p.za...@pengutronix.de>
---
 drivers/media/platform/imx/imx-mipi-csi2.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/media/platform/imx/imx-mipi-csi2.c 
b/drivers/media/platform/imx/imx-mipi-csi2.c
index 7b289cc..6b00a67 100644
--- a/drivers/media/platform/imx/imx-mipi-csi2.c
+++ b/drivers/media/platform/imx/imx-mipi-csi2.c
@@ -606,6 +606,7 @@ static int mipi_csi2_probe(struct platform_device *pdev)
        csi2->pads[2].flags = MEDIA_PAD_FL_SOURCE;
        csi2->pads[3].flags = MEDIA_PAD_FL_SOURCE;
        csi2->pads[4].flags = MEDIA_PAD_FL_SOURCE;
+       csi2->subdev.entity.function = MEDIA_ENT_F_VID_IF_BRIDGE;
        ret = media_entity_pads_init(&csi2->subdev.entity, MIPI_CSI2_PADS,
                                csi2->pads);
        if (ret < 0)
-- 
2.9.3

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to