usbtuner: enable Linux DVB API with USB tuner
Terry Heo [Mon, 18 May 2015 04:52:24 +0000 (13:52 +0900)]
Bug 1736911

Change-Id: If6dee29c3dfe67867f47e8959b797b2a359f03cb
Signed-off-by: Terry Heo <terryheo@google.com>
Reviewed-on: http://git-master/r/1029827
(cherry picked from commit 31aa5cbc5946802422d87b6fc3405371f6ab97e3)
Reviewed-on: http://git-master/r/1311285
GVS: Gerrit_Virtual_Submit
Tested-by: Jean Huang <jeanh@nvidia.com>
Reviewed-by: Vinayak Pane <vpane@nvidia.com>
Reviewed-on: http://git-master/r/1456482
Reviewed-by: Manish Tuteja <mtuteja@nvidia.com>
Tested-by: Manish Tuteja <mtuteja@nvidia.com>

arch/arm64/configs/tegra21_android_defconfig
drivers/media/tuners/Kconfig

index f5ec9c2..1d17d0e 100644 (file)
@@ -380,9 +380,12 @@ CONFIG_REGULATOR_TPS65132=y
 CONFIG_REGULATOR_TPS61280=y
 CONFIG_MEDIA_SUPPORT=y
 CONFIG_MEDIA_CAMERA_SUPPORT=y
+CONFIG_MEDIA_DIGITAL_TV_SUPPORT=y
 CONFIG_MEDIA_RC_SUPPORT=y
 CONFIG_MEDIA_CONTROLLER=y
 CONFIG_VIDEO_V4L2_SUBDEV_API=y
+# CONFIG_DVB_NET is not set
+# CONFIG_RC_DECODERS is not set
 # CONFIG_IR_RC5_DECODER is not set
 # CONFIG_IR_RC6_DECODER is not set
 # CONFIG_IR_JVC_DECODER is not set
@@ -395,6 +398,9 @@ CONFIG_IR_GPIO_CIR=y
 CONFIG_MEDIA_USB_SUPPORT=y
 CONFIG_USB_VIDEO_CLASS=y
 CONFIG_V4L_PLATFORM_DRIVERS=y
+CONFIG_VIDEO_CX231XX=y
+# CONFIG_VIDEO_CX231XX_RC is not set
+CONFIG_VIDEO_CX231XX_DVB=y
 CONFIG_VIDEO_IMX091=y
 CONFIG_VIDEO_IMX135=y
 CONFIG_VIDEO_AR0261=y
index 56c1671..7d09af3 100644 (file)
@@ -1,7 +1,7 @@
 # Analog TV tuners, auto-loaded via tuner.ko
 config MEDIA_TUNER
        tristate
-       depends on (MEDIA_ANALOG_TV_SUPPORT || MEDIA_RADIO_SUPPORT) && I2C
+       depends on (MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT || MEDIA_RADIO_SUPPORT) && I2C
        default y
        select MEDIA_TUNER_XC2028 if MEDIA_SUBDRV_AUTOSELECT
        select MEDIA_TUNER_XC5000 if MEDIA_SUBDRV_AUTOSELECT