Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 174085
b: refs/heads/master
c: c4fa649
h: refs/heads/master
i:
  174083: a71c884
v: v3
  • Loading branch information
Andreas Regel authored and Mauro Carvalho Chehab committed Dec 5, 2009
1 parent e7454a8 commit cfa0862
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a4978a83e51324aed08b1f1105a58f7e6491b751
refs/heads/master: c4fa649a3beca1e311d7f244de67306673f4c285
7 changes: 3 additions & 4 deletions trunk/drivers/media/dvb/frontends/stv090x.c
Original file line number Diff line number Diff line change
Expand Up @@ -3185,7 +3185,7 @@ static enum stv090x_signal_state stv090x_algo(struct stv090x_state *state)
if ((agc1_power == 0) && (power_iq < STV090x_IQPOWER_THRESHOLD)) {
dprintk(FE_ERROR, 1, "No Signal: POWER_IQ=0x%02x", power_iq);
lock = 0;

signal_state = STV090x_NOAGC1;
} else {
reg = STV090x_READ_DEMOD(state, DEMOD);
STV090x_SETFIELD_Px(reg, SPECINV_CONTROL_FIELD, state->inversion);
Expand All @@ -3209,9 +3209,8 @@ static enum stv090x_signal_state stv090x_algo(struct stv090x_state *state)
}
}

/* need to check for AGC1 state */


if (signal_state == STV090x_NOAGC1)
return signal_state;

if (state->algo == STV090x_BLIND_SEARCH)
lock = stv090x_blind_search(state);
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/media/dvb/frontends/stv090x_priv.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
STV090x_SEARCH_AGC2_TH_CUT30)

enum stv090x_signal_state {
STV090x_NOAGC1,
STV090x_NOCARRIER,
STV090x_NODATA,
STV090x_DATAOK,
Expand Down

0 comments on commit cfa0862

Please sign in to comment.