Commit e15c7ccd authored by Manu Abraham's avatar Manu Abraham Committed by Mauro Carvalho Chehab

V4L/DVB (13702): [MB86A16] need to wait a bit more than the computed time for a Factor of safety

Signed-off-by: default avatarManu Abraham <manu@linuxtv.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent b05c90de
...@@ -417,7 +417,8 @@ static int signal_det(struct mb86a16_state *state, ...@@ -417,7 +417,8 @@ static int signal_det(struct mb86a16_state *state,
int ret ; int ret ;
int smrtd ; int smrtd ;
int wait_sym ; int wait_sym ;
int wait_t ;
u32 wait_t;
unsigned char S[3] ; unsigned char S[3] ;
int i ; int i ;
...@@ -1429,6 +1430,7 @@ static int mb86a16_set_fe(struct mb86a16_state *state) ...@@ -1429,6 +1430,7 @@ static int mb86a16_set_fe(struct mb86a16_state *state)
S2T = 7; S4T = 2; S5T = 8; ETH = 7; VIA = 2; S2T = 7; S4T = 2; S5T = 8; ETH = 7; VIA = 2;
wait_t = 7 + (2097152 + state->srate / 2) / state->srate; wait_t = 7 + (2097152 + state->srate / 2) / state->srate;
} }
wait_t *= 2; /* FOS */
S2T_set(state, S2T); S2T_set(state, S2T);
S45T_set(state, S4T, S5T); S45T_set(state, S4T, S5T);
Vi_set(state, ETH, VIA); Vi_set(state, ETH, VIA);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment