[media] dvbdev: add a function to create DVB media graph
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sat, 3 Jan 2015 19:52:34 +0000 (16:52 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 13 Feb 2015 23:10:15 +0000 (21:10 -0200)
commit4155109aa88ccf478b1d59a63df1969a5f519800
treed714be9f954e80f63dbd0cf752cb13aa99a148df
parent3bde1b78408b7b1136cd64722b6cd8b2eb70b217
[media] dvbdev: add a function to create DVB media graph

We need to create a DVB graph, linking the several DVB devnodes.

Add such function. Please notice that this helper function
doesn't take into account devices with multiple DVB adapters
and frontends.

For devices with multiple adapters, they should either create two
different media controller instances or to improve this function
to take the adapter ID into account.

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