diff options
author | Igor M. Liplianin <liplianin@netup.ru> | 2011-02-28 14:52:08 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-03-21 19:32:39 -0400 |
commit | 38cdbce7634bdd914b6c6e673c2f6ebedca30d43 (patch) | |
tree | 710d2950ad4494156683cebfefa250515afdc576 /drivers/media/dvb/frontends | |
parent | 050b648e63b6a3afd22181d6c2113c315113e4db (diff) |
[media] stv0900: speed up DVB-S searching
Simptoms:
After zapping DVB-S2 channel searching for DVB-S tooks long time.
Now it takes less than a second.
Signed-off-by: Igor M. Liplianin <liplianin@netup.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends')
-rw-r--r-- | drivers/media/dvb/frontends/stv0900_core.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/dvb/frontends/stv0900_core.c b/drivers/media/dvb/frontends/stv0900_core.c index 1ca1c835048f..0d9b456d34fc 100644 --- a/drivers/media/dvb/frontends/stv0900_core.c +++ b/drivers/media/dvb/frontends/stv0900_core.c | |||
@@ -1604,6 +1604,9 @@ static enum dvbfe_search stv0900_search(struct dvb_frontend *fe, | |||
1604 | p_search.standard = STV0900_AUTO_SEARCH; | 1604 | p_search.standard = STV0900_AUTO_SEARCH; |
1605 | p_search.iq_inversion = STV0900_IQ_AUTO; | 1605 | p_search.iq_inversion = STV0900_IQ_AUTO; |
1606 | p_search.search_algo = STV0900_BLIND_SEARCH; | 1606 | p_search.search_algo = STV0900_BLIND_SEARCH; |
1607 | /* Speeds up DVB-S searching */ | ||
1608 | if (c->delivery_system == SYS_DVBS) | ||
1609 | p_search.standard = STV0900_SEARCH_DVBS1; | ||
1607 | 1610 | ||
1608 | intp->srch_standard[demod] = p_search.standard; | 1611 | intp->srch_standard[demod] = p_search.standard; |
1609 | intp->symbol_rate[demod] = p_search.symbol_rate; | 1612 | intp->symbol_rate[demod] = p_search.symbol_rate; |