summaryrefslogtreecommitdiff
path: root/drivers/media/Kconfig
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-04-14 11:00:30 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-04-14 11:00:30 +0200
commit85f7cd3a2aadd3be9652ce105370f561ff755a26 (patch)
tree0e1ad20b3b68d99cf2ebc88ae900a98a71fdf0a5 /drivers/media/Kconfig
parentd29e1ef4d638a6be59a8859b4994b457bb7348c5 (diff)
Revert "media: Kconfig: better support hybrid TV devices"
Changing from "depends on" to "select" may cause some side-effects. This patch is not ready to be merged yet, as it requires some adjustments. So, let's revert it. This reverts commit a3b91d8bd1e034c8ed89d3f55243478af97a0a52. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/Kconfig')
-rw-r--r--drivers/media/Kconfig26
1 files changed, 14 insertions, 12 deletions
diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig
index 0972a42e7e0c..a8def1591352 100644
--- a/drivers/media/Kconfig
+++ b/drivers/media/Kconfig
@@ -77,7 +77,12 @@ config MEDIA_ANALOG_TV_SUPPORT
help
Enable analog TV support.
- Say Y when you have a board with analog TV support.
+ Say Y when you have a TV board with analog support or with a
+ hybrid analog/digital TV chipset.
+
+ Note: There are several DVB cards that are based on chips that
+ support both analog and digital TV. Disabling this option
+ will disable support for them.
config MEDIA_DIGITAL_TV_SUPPORT
bool
@@ -86,7 +91,8 @@ config MEDIA_DIGITAL_TV_SUPPORT
help
Enable digital TV support.
- Say Y when you have a board with digital TV support.
+ Say Y when you have a board with digital support or a board with
+ hybrid digital TV and analog TV.
config MEDIA_RADIO_SUPPORT
bool
@@ -100,6 +106,10 @@ config MEDIA_RADIO_SUPPORT
Say Y when you have a board with radio support.
+ Note: There are several TV cards that are based on chips that
+ support radio reception. Disabling this option will
+ disable support for them.
+
config MEDIA_SDR_SUPPORT
bool
prompt "Software defined radio" if MEDIA_SUPPORT_FILTER
@@ -155,13 +165,9 @@ endmenu # media device types
menu "Media core support"
visible if !MEDIA_SUPPORT_FILTER
-comment "Video4Linux core enabled to support hybrid TV devices"
- depends on MEDIA_HYBRID_USB || MEDIA_HYBRID_PCI
-
config VIDEO_DEV
- tristate
- prompt "Video4Linux core" if !(MEDIA_HYBRID_USB || MEDIA_HYBRID_PCI)
- default MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_RADIO_SUPPORT || MEDIA_SDR_SUPPORT || MEDIA_PLATFORM_SUPPORT || MEDIA_TEST_SUPPORT || MEDIA_HYBRID_USB || MEDIA_HYBRID_PCI
+ tristate "Video4Linux core"
+ default MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_RADIO_SUPPORT || MEDIA_SDR_SUPPORT || MEDIA_PLATFORM_SUPPORT || MEDIA_TEST_SUPPORT
help
Enables the V4L2 API, used by cameras, analog TV, video grabbers,
radio devices and by some input devices.
@@ -180,12 +186,8 @@ config MEDIA_CONTROLLER
# Only enables if one of DTV is selected
#
-comment "Digital TV core enabled to support hybrid TV devices"
- depends on MEDIA_HYBRID_USB || MEDIA_HYBRID_PCI
-
config DVB_CORE
tristate
- prompt "Digital TV core" if !(MEDIA_HYBRID_USB || MEDIA_HYBRID_PCI)
depends on MEDIA_DIGITAL_TV_SUPPORT
depends on (I2C || I2C=n)
select CRC32