summaryrefslogtreecommitdiff
path: root/drivers/media/usb/cx231xx/cx231xx-cards.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-02-11 22:39:52 -0200
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-02-16 08:55:26 -0200
commit6168309acd6afe420108dba20a66e6781b933f89 (patch)
tree77f1b9be6f28cc5996f2255a01897c259c98aa3b /drivers/media/usb/cx231xx/cx231xx-cards.c
parent133bc4e4a3cdbead6ad17d5acfc2997026d8ca79 (diff)
[media] cx231xx: create connectors at the media graph
We need to add connectors to the cx231xx graph. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/usb/cx231xx/cx231xx-cards.c')
-rw-r--r--drivers/media/usb/cx231xx/cx231xx-cards.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/usb/cx231xx/cx231xx-cards.c b/drivers/media/usb/cx231xx/cx231xx-cards.c
index 91bf671d2959..9e3a5d2038c2 100644
--- a/drivers/media/usb/cx231xx/cx231xx-cards.c
+++ b/drivers/media/usb/cx231xx/cx231xx-cards.c
@@ -1685,6 +1685,9 @@ static int cx231xx_usb_probe(struct usb_interface *interface,
request_modules(dev);
#ifdef CONFIG_MEDIA_CONTROLLER
+ /* Init entities at the Media Controller */
+ cx231xx_v4l2_create_entities(dev);
+
retval = v4l2_mc_create_media_graph(dev->media_dev);
if (!retval)
retval = media_device_register(dev->media_dev);