aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb
diff options
context:
space:
mode:
authorManu Abraham <abraham.manu@gmail.com>2009-12-02 20:00:50 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-01-17 08:55:28 -0500
commite15c7ccd31faa0618478ad78e11423891919a87e (patch)
treedfbc14b63b8c62079e1049ef63ffcb43ab1a050f /drivers/media/dvb
parentb05c90de08b582172b8f63dd751ac0a1aee421e9 (diff)
V4L/DVB (13702): [MB86A16] need to wait a bit more than the computed time for a Factor of safety
Signed-off-by: Manu Abraham <manu@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb')
-rw-r--r--drivers/media/dvb/frontends/mb86a16.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/mb86a16.c b/drivers/media/dvb/frontends/mb86a16.c
index 47c0d5739dd4..ad03b110f735 100644
--- a/drivers/media/dvb/frontends/mb86a16.c
+++ b/drivers/media/dvb/frontends/mb86a16.c
@@ -417,7 +417,8 @@ static int signal_det(struct mb86a16_state *state,
417 int ret ; 417 int ret ;
418 int smrtd ; 418 int smrtd ;
419 int wait_sym ; 419 int wait_sym ;
420 int wait_t ; 420
421 u32 wait_t;
421 unsigned char S[3] ; 422 unsigned char S[3] ;
422 int i ; 423 int i ;
423 424
@@ -1429,6 +1430,7 @@ static int mb86a16_set_fe(struct mb86a16_state *state)
1429 S2T = 7; S4T = 2; S5T = 8; ETH = 7; VIA = 2; 1430 S2T = 7; S4T = 2; S5T = 8; ETH = 7; VIA = 2;
1430 wait_t = 7 + (2097152 + state->srate / 2) / state->srate; 1431 wait_t = 7 + (2097152 + state->srate / 2) / state->srate;
1431 } 1432 }
1433 wait_t *= 2; /* FOS */
1432 S2T_set(state, S2T); 1434 S2T_set(state, S2T);
1433 S45T_set(state, S4T, S5T); 1435 S45T_set(state, S4T, S5T);
1434 Vi_set(state, ETH, VIA); 1436 Vi_set(state, ETH, VIA);