V4L/DVB (11585): stv090x: fix incorrectly used mode
authorAndreas Regel <andreas.regel@gmx.de>
Wed, 8 Apr 2009 20:28:41 +0000 (17:28 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 16 Jun 2009 21:20:39 +0000 (18:20 -0300)
Signed-off-by: Andreas Regel <andreas.regel@gmx.de>
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/stv090x.c

index 0643bffea508db5ee162059f86623576e1d67d15..6aaeda1cf243bf9e1cc768ab24c2766b37bc255e 100644 (file)
@@ -1922,7 +1922,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 */
@@ -2073,7 +2073,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 */
This page took 0.029199 seconds and 5 git commands to generate.