[media] dvbdev: add support for media controller
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 2 Jan 2015 15:19:51 +0000 (12:19 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 13 Feb 2015 23:10:12 +0000 (21:10 -0200)
Provide a way to register media controller device nodes
at the DVB core.

Please notice that the dvbdev callers also require changes
for the devices to be registered via the media controller.

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

index 49cd308..3ef0f90 100644 (file)
@@ -87,13 +87,21 @@ config MEDIA_RC_SUPPORT
 
 config MEDIA_CONTROLLER
        bool "Media Controller API"
-       depends on MEDIA_CAMERA_SUPPORT
+       depends on MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT
        ---help---
          Enable the media controller API used to query media devices internal
          topology and configure it dynamically.
 
          This API is mostly used by camera interfaces in embedded platforms.
 
+config MEDIA_CONTROLLER_DVB
+       bool "Enable Media controller for DVB"
+       depends on MEDIA_CONTROLLER
+       ---help---
+         Enable the media controller API support for DVB.
+
+         This is currently experimental.
+
 #
 # Video4Linux support
 #      Only enables if one of the V4L2 types (ATV, webcam, radio) is selected
Simple merge
Simple merge