media: dvb-usb: auto-select CYPRESS_FIRMWARE
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 24 Mar 2020 09:00:38 +0000 (10:00 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 14 Apr 2020 08:29:04 +0000 (10:29 +0200)
At least some of the supported boards by dvb-usb
driver need to load the cypress firmware, so select
it, as otherwise missing dependencies may popup.

Also, as the cypress firmware load routines are needed
only by the dvb-usb, dvb-usb-v2 and go7007 drivers, and
those all (now) select it, there's no need to ask the
user for manually select it.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/common/Kconfig
drivers/media/usb/dvb-usb/Kconfig

index 1990b7f..4ea03b7 100644 (file)
@@ -14,7 +14,7 @@ config VIDEO_TVEEPROM
        depends on I2C
 
 config CYPRESS_FIRMWARE
-       tristate "Cypress firmware helper routines"
+       tristate
        depends on USB
 
 source "drivers/media/common/videobuf2/Kconfig"
index 1a3e5f9..42334a0 100644 (file)
@@ -2,6 +2,7 @@
 config DVB_USB
        tristate "Support for various USB DVB devices"
        depends on DVB_CORE && USB && I2C && RC_CORE
+       select CYPRESS_FIRMWARE
        help
          By enabling this you will be able to choose the various supported
          USB1.1 and USB2.0 DVB devices.