aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb
diff options
context:
space:
mode:
authorMalcolm Priestley <tvboxspy@gmail.com>2012-03-02 16:15:41 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-03-19 13:12:32 -0400
commit77768e4b754fdb38d235d8a2384cc8b334367366 (patch)
tree9f6852908e3655e2d1a1d0818702b5fcae72e725 /drivers/media/dvb
parent66ede038aa7b51ffbfaf9e600536f027a6d34e56 (diff)
[media] STV0288 increase delay between carrier search
The current delay of 30uS is too short to recover any carrier. In the lmedm04 driver delays were added to overcome carrier lock problems. The typical delay was 30mS (2 x 15ms register write 0x2c and read 0x24). Other drivers that use STV0288 don't appear to have any delay are likely to have also suffered this problem. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb')
-rw-r--r--drivers/media/dvb/frontends/stv0288.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/stv0288.c b/drivers/media/dvb/frontends/stv0288.c
index fb5548a82208..632b25156e4c 100644
--- a/drivers/media/dvb/frontends/stv0288.c
+++ b/drivers/media/dvb/frontends/stv0288.c
@@ -506,7 +506,7 @@ static int stv0288_set_frontend(struct dvb_frontend *fe)
506 tda[1] = (unsigned char)tm; 506 tda[1] = (unsigned char)tm;
507 stv0288_writeregI(state, 0x2b, tda[1]); 507 stv0288_writeregI(state, 0x2b, tda[1]);
508 stv0288_writeregI(state, 0x2c, tda[2]); 508 stv0288_writeregI(state, 0x2c, tda[2]);
509 udelay(30); 509 msleep(30);
510 } 510 }
511 state->tuner_frequency = c->frequency; 511 state->tuner_frequency = c->frequency;
512 state->fec_inner = FEC_AUTO; 512 state->fec_inner = FEC_AUTO;