summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/stv090x.c
diff options
context:
space:
mode:
authorAndreas Regel <andreas.regel@gmx.de>2009-04-08 17:28:41 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-06-16 18:20:39 -0300
commit72982f761526278e1ca7dce0507ed9f33b952fee (patch)
tree5a983d5881d61a18c513a65cd14ae77444c6046d /drivers/media/dvb/frontends/stv090x.c
parentf9ed95d03e3a736627493690bfd1cb893ebaa200 (diff)
downloadlinux-72982f761526278e1ca7dce0507ed9f33b952fee.tar.gz
linux-72982f761526278e1ca7dce0507ed9f33b952fee.tar.bz2
linux-72982f761526278e1ca7dce0507ed9f33b952fee.zip
V4L/DVB (11585): stv090x: fix incorrectly used mode
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>
Diffstat (limited to 'drivers/media/dvb/frontends/stv090x.c')
-rw-r--r--drivers/media/dvb/frontends/stv090x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb/frontends/stv090x.c b/drivers/media/dvb/frontends/stv090x.c
index 0643bffea508..6aaeda1cf243 100644
--- a/drivers/media/dvb/frontends/stv090x.c
+++ b/drivers/media/dvb/frontends/stv090x.c
@@ -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 */