summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorAndrew de Quincey <adq_dvb@lidskialf.net>2006-06-29 13:16:07 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-06-30 15:59:39 -0300
commitfd6decfbb86a73f3bdf3df2281191e7a978d8b77 (patch)
tree8dbbe9f22dd79724d3a826b9bdfd9ed6631974ac /drivers/media
parent1b172e0c4e44151cd239c1e9260c7822a4eecdbf (diff)
downloadlinux-fd6decfbb86a73f3bdf3df2281191e7a978d8b77.tar.gz
linux-fd6decfbb86a73f3bdf3df2281191e7a978d8b77.tar.bz2
linux-fd6decfbb86a73f3bdf3df2281191e7a978d8b77.zip
V4L/DVB (4276): Fix CI on old KNC1 DVBC cards
These cards do not need the tda10021 configuration change when data is streamed through a CAM module. This disables it for these ones. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/dvb/ttpci/budget-av.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/media/dvb/ttpci/budget-av.c b/drivers/media/dvb/ttpci/budget-av.c
index 6163cb03b8f4..3df5d793147f 100644
--- a/drivers/media/dvb/ttpci/budget-av.c
+++ b/drivers/media/dvb/ttpci/budget-av.c
@@ -1141,6 +1141,15 @@ static void frontend_init(struct budget_av *budget_av)
break;
case SUBID_DVBC_KNC1:
+ budget_av->reinitialise_demod = 1;
+ fe = tda10021_attach(&philips_cu1216_config,
+ &budget_av->budget.i2c_adap,
+ read_pwm(budget_av));
+ if (fe) {
+ fe->ops.tuner_ops.set_params = philips_cu1216_tuner_set_params;
+ }
+ break;
+
case SUBID_DVBC_KNC1_PLUS:
case SUBID_DVBC_CINERGY1200:
budget_av->reinitialise_demod = 1;