summaryrefslogtreecommitdiff
path: root/linux/drivers
diff options
context:
space:
mode:
authorManu Abraham <manu@linuxtv.org>2009-04-09 00:28:41 +0400
committerManu Abraham <manu@linuxtv.org>2009-04-09 00:28:41 +0400
commitfa0f1c1e69e4c7711855792ff509c438034fddfc (patch)
treea8e61ee5c1a5d2cb46bea1d47e08628421118633 /linux/drivers
parente9b59da1542294b667400c0aa2340368e3dc4a80 (diff)
downloadmediapointer-dvb-s2-fa0f1c1e69e4c7711855792ff509c438034fddfc.tar.gz
mediapointer-dvb-s2-fa0f1c1e69e4c7711855792ff509c438034fddfc.tar.bz2
Fix incorrectly used mode
From: Andreas Regel <andreas.regel@gmx.de> Signed-off-by: Andreas Regel <andreas.regel@gmx.de> Signed-off-by: Manu Abraham <manu@linuxtv.org>
Diffstat (limited to 'linux/drivers')
-rw-r--r--linux/drivers/media/dvb/frontends/stv090x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/frontends/stv090x.c b/linux/drivers/media/dvb/frontends/stv090x.c
index 19e5d4961..011ef160a 100644
--- a/linux/drivers/media/dvb/frontends/stv090x.c
+++ b/linux/drivers/media/dvb/frontends/stv090x.c
@@ -2707,7 +2707,7 @@ static int stv090x_get_loop_params(struct stv090x_state *state, s32 *freq_inc, s
inc *= 256;
inc /= 1000;
- switch (state->algo) {
+ switch (state->search_mode) {
case STV090x_SEARCH_DVBS1:
case STV090x_SEARCH_DSS:
inc *= 3; /* freq step = 3% of srate */
@@ -2858,7 +2858,7 @@ static int stv090x_sw_algo(struct stv090x_state *state)
stv090x_get_loop_params(state, &inc, &timeout_step, &steps_max); /* get params */
- switch (state->algo) {
+ switch (state->search_mode) {
case STV090x_SEARCH_DVBS1:
case STV090x_SEARCH_DSS:
/* accelerate the frequency detector */