summaryrefslogtreecommitdiff
path: root/drivers/media/dvb
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2010-02-02 19:40:51 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-02-26 15:10:51 -0300
commit08c45cd58560f10e08e0ec4686845625b7030e8c (patch)
tree4f77ea02562e551905aefa9c3da15277eef0532f /drivers/media/dvb
parent690c79ae7a0d928459ee6a09be781a2503c27e3e (diff)
downloadlinux-3.10-08c45cd58560f10e08e0ec4686845625b7030e8c.tar.gz
linux-3.10-08c45cd58560f10e08e0ec4686845625b7030e8c.tar.bz2
linux-3.10-08c45cd58560f10e08e0ec4686845625b7030e8c.zip
V4L/DVB: drivers/media/dvb/frontends/stv090x.c: fix use-uninitlalised
Mad guess. Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Reviewed-by: Manu Abraham <manu@linuxtv.org> Acked-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, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/stv090x.c b/drivers/media/dvb/frontends/stv090x.c
index a11a2eb27f5..c52c3357dc5 100644
--- a/drivers/media/dvb/frontends/stv090x.c
+++ b/drivers/media/dvb/frontends/stv090x.c
@@ -2047,7 +2047,7 @@ static int stv090x_chk_tmg(struct stv090x_state *state)
u32 reg;
s32 tmg_cpt = 0, i;
u8 freq, tmg_thh, tmg_thl;
- int tmg_lock;
+ int tmg_lock = 0;
freq = STV090x_READ_DEMOD(state, CARFREQ);
tmg_thh = STV090x_READ_DEMOD(state, TMGTHRISE);