aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/ttpci
diff options
context:
space:
mode:
authorAndreas Regel <andreas.regel@gmx.de>2010-02-13 14:48:07 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-17 23:46:49 -0400
commit5817ea0c83665dbc117cb7ca637202da0fb1abce (patch)
treedbd3d47d177cdab1c3d8e51e36974415b3baa921 /drivers/media/dvb/ttpci
parent85532d1454dd3df7327d12bf6ca7ef5a00bb1282 (diff)
V4L/DVB: Budget/STV090x/STV6110x: Initialize the demodulator immediately after the tuner is attached
Signed-off-by: Andreas Regel <andreas.regel@gmx.de> Signed-off-by: Manu Abraham <manu@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/ttpci')
-rw-r--r--drivers/media/dvb/ttpci/budget.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/media/dvb/ttpci/budget.c b/drivers/media/dvb/ttpci/budget.c
index e5cb1022d9db..f5db13d8b990 100644
--- a/drivers/media/dvb/ttpci/budget.c
+++ b/drivers/media/dvb/ttpci/budget.c
@@ -640,6 +640,12 @@ static void frontend_init(struct budget *budget)
640 tt1600_stv090x_config.tuner_set_refclk = ctl->tuner_set_refclk; 640 tt1600_stv090x_config.tuner_set_refclk = ctl->tuner_set_refclk;
641 tt1600_stv090x_config.tuner_get_status = ctl->tuner_get_status; 641 tt1600_stv090x_config.tuner_get_status = ctl->tuner_get_status;
642 642
643 /* call the init function once to initialize
644 tuner's clock output divider and demod's
645 master clock */
646 if (budget->dvb_frontend->ops.init)
647 budget->dvb_frontend->ops.init(budget->dvb_frontend);
648
643 dvb_attach(isl6423_attach, 649 dvb_attach(isl6423_attach,
644 budget->dvb_frontend, 650 budget->dvb_frontend,
645 &budget->i2c_adap, 651 &budget->i2c_adap,