summaryrefslogtreecommitdiff
path: root/drivers/media/i2c
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2017-09-21 18:32:11 +0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2017-10-27 15:15:16 +0300
commitf7480ad0d458b74a9a1a882b56917e4695ffed1f (patch)
treec9f3bd183800a5d0373765bc3b7d1deabbd4971f /drivers/media/i2c
parentf9cc48f1b1df312788312cff4b32267e4344ef61 (diff)
downloadlinux-f7480ad0d458b74a9a1a882b56917e4695ffed1f.tar.xz
media: tc358743: set entity function to video interface bridge
The TC358743 is an HDMI to MIPI CSI2-2 bridge. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/i2c')
-rw-r--r--drivers/media/i2c/tc358743.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/i2c/tc358743.c b/drivers/media/i2c/tc358743.c
index cd995e6a98ef..0b65096613d9 100644
--- a/drivers/media/i2c/tc358743.c
+++ b/drivers/media/i2c/tc358743.c
@@ -2101,6 +2101,7 @@ static int tc358743_probe(struct i2c_client *client,
}
state->pad.flags = MEDIA_PAD_FL_SOURCE;
+ sd->entity.function = MEDIA_ENT_F_VID_IF_BRIDGE;
err = media_entity_pads_init(&sd->entity, 1, &state->pad);
if (err < 0)
goto err_hdl;