Skip to content

Commit

Permalink
V4L/DVB (13702): [MB86A16] need to wait a bit more than the computed …
Browse files Browse the repository at this point in the history
…time for a Factor of safety

Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Manu Abraham authored and Mauro Carvalho Chehab committed Jan 17, 2010
1 parent b05c90d commit e15c7cc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion drivers/media/dvb/frontends/mb86a16.c
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,8 @@ static int signal_det(struct mb86a16_state *state,
int ret ;
int smrtd ;
int wait_sym ;
int wait_t ;

u32 wait_t;
unsigned char S[3] ;
int i ;

Expand Down Expand Up @@ -1429,6 +1430,7 @@ static int mb86a16_set_fe(struct mb86a16_state *state)
S2T = 7; S4T = 2; S5T = 8; ETH = 7; VIA = 2;
wait_t = 7 + (2097152 + state->srate / 2) / state->srate;
}
wait_t *= 2; /* FOS */
S2T_set(state, S2T);
S45T_set(state, S4T, S5T);
Vi_set(state, ETH, VIA);
Expand Down

0 comments on commit e15c7cc

Please sign in to comment.