git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
V4L/DVB: drivers/media/dvb/frontends/stv090x.c: fix use-uninitlalised
[safe/jmp/linux-2.6]
/
drivers
/
media
/
dvb
/
frontends
/
stv090x.c
diff --git
a/drivers/media/dvb/frontends/stv090x.c
b/drivers/media/dvb/frontends/stv090x.c
index
a11a2eb
..
c52c335
100644
(file)
--- 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);