diff options
author | Andreas Regel <andreas.regel@gmx.de> | 2009-04-08 16:28:41 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-06-16 17:20:39 -0400 |
commit | 72982f761526278e1ca7dce0507ed9f33b952fee (patch) | |
tree | 5a983d5881d61a18c513a65cd14ae77444c6046d | |
parent | f9ed95d03e3a736627493690bfd1cb893ebaa200 (diff) |
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>
-rw-r--r-- | drivers/media/dvb/frontends/stv090x.c | 4 |
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 | |||
1922 | inc *= 256; | 1922 | inc *= 256; |
1923 | inc /= 1000; | 1923 | inc /= 1000; |
1924 | 1924 | ||
1925 | switch (state->algo) { | 1925 | switch (state->search_mode) { |
1926 | case STV090x_SEARCH_DVBS1: | 1926 | case STV090x_SEARCH_DVBS1: |
1927 | case STV090x_SEARCH_DSS: | 1927 | case STV090x_SEARCH_DSS: |
1928 | inc *= 3; /* freq step = 3% of srate */ | 1928 | inc *= 3; /* freq step = 3% of srate */ |
@@ -2073,7 +2073,7 @@ static int stv090x_sw_algo(struct stv090x_state *state) | |||
2073 | 2073 | ||
2074 | stv090x_get_loop_params(state, &inc, &timeout_step, &steps_max); /* get params */ | 2074 | stv090x_get_loop_params(state, &inc, &timeout_step, &steps_max); /* get params */ |
2075 | 2075 | ||
2076 | switch (state->algo) { | 2076 | switch (state->search_mode) { |
2077 | case STV090x_SEARCH_DVBS1: | 2077 | case STV090x_SEARCH_DVBS1: |
2078 | case STV090x_SEARCH_DSS: | 2078 | case STV090x_SEARCH_DSS: |
2079 | /* accelerate the frequency detector */ | 2079 | /* accelerate the frequency detector */ |