aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb
diff options
context:
space:
mode:
authorAndreas Regel <andreas.regel@gmx.de>2010-01-05 17:24:56 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-02-26 13:10:38 -0500
commit76b9ef97953c120172dfc07d48e6d219164c6f6a (patch)
tree2baa2e5f3fdefe3dadd05884f7266ae28accefad /drivers/media/dvb
parent93e32cdafbe70d66bd8c133dd1b663198723654f (diff)
V4L/DVB (13985): [STV090x] reset mclk and dev_ver of internal structure after allocating
When mclk is not 0 then it will never be set to the correct value and the Demodulator will not work. 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')
-rw-r--r--drivers/media/dvb/frontends/stv090x.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/dvb/frontends/stv090x.c b/drivers/media/dvb/frontends/stv090x.c
index 4dc30911f408..3c5fba838827 100644
--- a/drivers/media/dvb/frontends/stv090x.c
+++ b/drivers/media/dvb/frontends/stv090x.c
@@ -4517,6 +4517,8 @@ struct dvb_frontend *stv090x_attach(const struct stv090x_config *config,
4517 GFP_KERNEL); 4517 GFP_KERNEL);
4518 temp_int = append_internal(state->internal); 4518 temp_int = append_internal(state->internal);
4519 state->internal->num_used = 1; 4519 state->internal->num_used = 1;
4520 state->internal->mclk = 0;
4521 state->internal->dev_ver = 0;
4520 state->internal->i2c_adap = state->i2c; 4522 state->internal->i2c_adap = state->i2c;
4521 state->internal->i2c_addr = state->config->address; 4523 state->internal->i2c_addr = state->config->address;
4522 dprintk(FE_INFO, 1, "Create New Internal Structure!"); 4524 dprintk(FE_INFO, 1, "Create New Internal Structure!");