The sink pad will receive multiplexed streams over a CSI-2 bus, mark the
pad as muxed.

Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
---
 drivers/media/platform/rcar-vin/rcar-csi2.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/media/platform/rcar-vin/rcar-csi2.c 
b/drivers/media/platform/rcar-vin/rcar-csi2.c
index 8e424b7adf9cc39c..58c8e9ec8ab756fc 100644
--- a/drivers/media/platform/rcar-vin/rcar-csi2.c
+++ b/drivers/media/platform/rcar-vin/rcar-csi2.c
@@ -908,7 +908,8 @@ static int rcar_csi2_probe(struct platform_device *pdev)
        priv->subdev.entity.function = MEDIA_ENT_F_PROC_VIDEO_PIXEL_FORMATTER;
        priv->subdev.entity.ops = &rcar_csi2_entity_ops;
 
-       priv->pads[RCAR_CSI2_SINK].flags = MEDIA_PAD_FL_SINK;
+       priv->pads[RCAR_CSI2_SINK].flags =
+               MEDIA_PAD_FL_SINK | MEDIA_PAD_FL_MUXED;
        for (i = RCAR_CSI2_SOURCE_VC0; i < NR_OF_RCAR_CSI2_PAD; i++)
                priv->pads[i].flags = MEDIA_PAD_FL_SOURCE;
 
-- 
2.13.3

Reply via email to