* [PATCH 1/9] stv090x: increase search range based on symbol rate
@ 2009-11-02 22:50 Andreas Regel
0 siblings, 0 replies; only message in thread
From: Andreas Regel @ 2009-11-02 22:50 UTC (permalink / raw)
To: linux-media
This patch increases search range based on symbol rate.
Signed-off-by: Andreas Regel <andreas.regel@gmx.de>
diff -r 69d4b117a9e5 linux/drivers/media/dvb/frontends/stv090x.c
--- a/linux/drivers/media/dvb/frontends/stv090x.c Mon Nov 02 21:38:25 2009 +0100
+++ b/linux/drivers/media/dvb/frontends/stv090x.c Mon Nov 02 21:43:27 2009 +0100
@@ -4108,7 +4108,13 @@
state->search_mode = STV090x_SEARCH_AUTO;
state->algo = STV090x_COLD_SEARCH;
state->fec = STV090x_PRERR;
- state->search_range = 2000000;
+ if (state->srate > 10000000) {
+ dprintk(FE_DEBUG, 1, "Search range: 10 MHz");
+ state->search_range = 10000000;
+ } else {
+ dprintk(FE_DEBUG, 1, "Search range: 5 MHz");
+ state->search_range = 5000000;
+ }
if (stv090x_algo(state) == STV090x_RANGEOK) {
dprintk(FE_DEBUG, 1, "Search success!");
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-11-02 22:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-02 22:50 [PATCH 1/9] stv090x: increase search range based on symbol rate Andreas Regel
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.