diff options
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-02-12 03:39:52 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-02-16 13:55:26 +0300 |
commit | 6168309acd6afe420108dba20a66e6781b933f89 (patch) | |
tree | 77f1b9be6f28cc5996f2255a01897c259c98aa3b /drivers/media/usb/cx231xx/cx231xx-cards.c | |
parent | 133bc4e4a3cdbead6ad17d5acfc2997026d8ca79 (diff) | |
download | linux-6168309acd6afe420108dba20a66e6781b933f89.tar.xz |
[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.c | 3 |
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); |