aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/ttpci
diff options
context:
space:
mode:
authorAndreas Regel <andreas.regel@gmx.de>2010-02-13 16:48:07 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-18 00:46:49 -0300
commit5817ea0c83665dbc117cb7ca637202da0fb1abce (patch)
treedbd3d47d177cdab1c3d8e51e36974415b3baa921 /drivers/media/dvb/ttpci
parent85532d1454dd3df7327d12bf6ca7ef5a00bb1282 (diff)
downloadkernel_samsung_smdk4412-5817ea0c83665dbc117cb7ca637202da0fb1abce.tar.gz
kernel_samsung_smdk4412-5817ea0c83665dbc117cb7ca637202da0fb1abce.tar.bz2
kernel_samsung_smdk4412-5817ea0c83665dbc117cb7ca637202da0fb1abce.zip
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 e5cb1022d9d..f5db13d8b99 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)
tt1600_stv090x_config.tuner_set_refclk = ctl->tuner_set_refclk;
tt1600_stv090x_config.tuner_get_status = ctl->tuner_get_status;
+ /* call the init function once to initialize
+ tuner's clock output divider and demod's
+ master clock */
+ if (budget->dvb_frontend->ops.init)
+ budget->dvb_frontend->ops.init(budget->dvb_frontend);
+
dvb_attach(isl6423_attach,
budget->dvb_frontend,
&budget->i2c_adap,