V4L/DVB: drivers/media/dvb/frontends/stv090x.c: fix use-uninitlalised
authorAndrew Morton <akpm@linux-foundation.org>
Tue, 2 Feb 2010 22:40:51 +0000 (19:40 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 26 Feb 2010 18:10:51 +0000 (15:10 -0300)
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>
drivers/media/dvb/frontends/stv090x.c

index a11a2eb..c52c335 100644 (file)
@@ -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);