]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[media] cx231xx: create DVB graph
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sat, 3 Jan 2015 19:54:51 +0000 (16:54 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 13 Feb 2015 23:10:16 +0000 (21:10 -0200)
cx231xx is simple with regards to DVB: all boards have just one
DVB adapter. So, we can use the default DVB helper function to
create the DVB media graph.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/cx231xx/cx231xx-dvb.c

index bb7e766cd30c9d862463bc5d8e49249792498c0d..e8c054c4ac8cadc94b5e6b8ae023b221a99cad61 100644 (file)
@@ -540,6 +540,7 @@ static int register_dvb(struct cx231xx_dvb *dvb,
 
        /* register network adapter */
        dvb_net_init(&dvb->adapter, &dvb->net, &dvb->demux.dmx);
+       dvb_create_media_graph(dev->media_dev);
        return 0;
 
 fail_fe_conn: