]> git.karo-electronics.de Git - linux-beck.git/commit
[media] dvbdev: represent frontend with two pads
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sat, 3 Jan 2015 19:35:53 +0000 (16:35 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 13 Feb 2015 23:10:15 +0000 (21:10 -0200)
commit3bde1b78408b7b1136cd64722b6cd8b2eb70b217
tree8f901792c379ff4441c0de27884fe2da91653dd5
parentd35a9855a8b6e675013bce6946e36c13db66b765
[media] dvbdev: represent frontend with two pads

While on some devices the tuner is bound inside the frontend,
other devices use a separate subdevice for it.

So, in order to be more generic, better to map it with two
pads.

That will allows to use the media controller to lock the tuner
between the DVB and the V4L2 sub-drivers, on hybrid devices.

While here, change the logic to use pad 0 as sink for devices
with both sink and source pads.

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