media: dvb-usb-gl861: support I2C read from tuner via demod
authorAkihiro Tsukada <tskd08@gmail.com>
Thu, 29 Aug 2019 08:38:22 +0000 (05:38 -0300)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 7 Oct 2019 10:50:55 +0000 (07:50 -0300)
Support Friio devices to read from tuner via demod tc90522,
by enabling the config option.

Signed-off-by: Akihiro Tsukada <tskd08@gmail.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/usb/dvb-usb-v2/gl861.c

index f5f774ed05b87f5a458d5c82d2c93ac9274af911..19217dcf20f1037f60c8d41d1a8a7947ddd93fdb 100644 (file)
@@ -242,6 +242,7 @@ struct friio_config {
 
 static const struct friio_config friio_config = {
        .demod_info = { I2C_BOARD_INFO(TC90522_I2C_DEV_TER, 0x18), },
+       .demod_cfg = { .split_tuner_read_i2c = true, },
        .tuner_info = { I2C_BOARD_INFO("tua6034_friio", 0x60), },
 };