linux: fix tevil s471

see https://linuxtv.org/patch/19731/
This commit is contained in:
Stefan Saraev 2013-09-19 01:24:15 +03:00 committed by Stephan Raue
parent 414b490a74
commit a5003ff22c

View File

@ -0,0 +1,30 @@
From edab54fcfb1eb4b56868d2e364cf49dc3c6bad25 Mon Sep 17 00:00:00 2001
From: Stefan Saraev <stefan@saraev.ca>
Date: Wed, 18 Sep 2013 14:52:05 +0300
Subject: [PATCH] A split for ds3000/ts2020 code forgot to change the TEVII_S471 code.
Change the TEVII_S471 according the changes to TEVII_S470.
BP: https://linuxtv.org/patch/19731/
---
drivers/media/pci/cx23885/cx23885-dvb.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/drivers/media/pci/cx23885/cx23885-dvb.c b/drivers/media/pci/cx23885/cx23885-dvb.c
index 5db14f8..4cbf20a 100644
--- a/drivers/media/pci/cx23885/cx23885-dvb.c
+++ b/drivers/media/pci/cx23885/cx23885-dvb.c
@@ -1339,6 +1339,11 @@ static int dvb_register(struct cx23885_tsport *port)
fe0->dvb.frontend = dvb_attach(ds3000_attach,
&tevii_ds3000_config,
&i2c_bus->i2c_adap);
+ if (fe0->dvb.frontend != NULL) {
+ dvb_attach(ts2020_attach, fe0->dvb.frontend,
+ &tevii_ts2020_config, &i2c_bus->i2c_adap);
+ fe0->dvb.frontend->ops.set_voltage = f300_set_voltage;
+ }
break;
case CX23885_BOARD_BST_PS8512:
case CX23885_BOARD_DVBSKY_S950:
--
1.7.2.5