media: usb: dvb-usb-v2: af9035: let subdrv autoselect enable si2168 and si2157
authorUwe Kleine-König <uwe@kleine-koenig.org>
Sat, 12 Jun 2021 09:13:51 +0000 (11:13 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 12 Jul 2021 12:28:49 +0000 (14:28 +0200)
The Logilink VG0022A DVB-T2 stick has these three devices. So to enable
support for this stick in the presence of MEDIA_SUBDRV_AUTOSELECT,
let DVB_USB_AF9035 select the two other drivers.

Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/usb/dvb-usb-v2/Kconfig

index 5c75303fba9d01b6603b760560275b9798db74b0..60ca8b9d070b7082d477994bf3da23d205fcdc22 100644 (file)
@@ -34,6 +34,8 @@ config DVB_USB_AF9035
        tristate "Afatech AF9035 DVB-T USB2.0 support"
        depends on DVB_USB_V2
        select DVB_AF9033
+       select DVB_SI2168 if MEDIA_SUBDRV_AUTOSELECT
+       select MEDIA_TUNER_SI2157 if MEDIA_SUBDRV_AUTOSELECT
        select MEDIA_TUNER_TUA9001 if MEDIA_SUBDRV_AUTOSELECT
        select MEDIA_TUNER_FC0011 if MEDIA_SUBDRV_AUTOSELECT
        select MEDIA_TUNER_MXL5007T if MEDIA_SUBDRV_AUTOSELECT