提交 08c45cd5 编写于 作者: A Andrew Morton 提交者: Mauro Carvalho Chehab

V4L/DVB: drivers/media/dvb/frontends/stv090x.c: fix use-uninitlalised

Mad guess.
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Reviewed-by: NManu Abraham <manu@linuxtv.org>
Acked-by: NManu Abraham <manu@linuxtv.org>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 690c79ae
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册