summaryrefslogtreecommitdiff
path: root/linux/drivers/media
diff options
context:
space:
mode:
authorManu Abraham <manu@linuxtv.org>2007-09-22 01:40:14 +0400
committerManu Abraham <manu@linuxtv.org>2007-09-22 01:40:14 +0400
commit7d3cb90941a3f01af2bfb6769e197ba25e8d121a (patch)
tree064f852896437f766a6e070e35f17722cb8ae998 /linux/drivers/media
parentb50df55828f89fa613610df7d7444ff20fbad8c7 (diff)
downloadmediapointer-dvb-s2-7d3cb90941a3f01af2bfb6769e197ba25e8d121a.tar.gz
mediapointer-dvb-s2-7d3cb90941a3f01af2bfb6769e197ba25e8d121a.tar.bz2
Offset Freq has been set in reg
From: Marko Schluessler <marco@lordzodiac.de> Signed-off-by: Marko Schluessler <marco@lordzodiac.de> Signed-off-by: Manu Abraham <manu@linuxtv.org>
Diffstat (limited to 'linux/drivers/media')
-rw-r--r--linux/drivers/media/dvb/frontends/stb0899_algo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/frontends/stb0899_algo.c b/linux/drivers/media/dvb/frontends/stb0899_algo.c
index 0f6fc463b..98db40c93 100644
--- a/linux/drivers/media/dvb/frontends/stb0899_algo.c
+++ b/linux/drivers/media/dvb/frontends/stb0899_algo.c
@@ -1432,7 +1432,7 @@ enum stb0899_status stb0899_dvbs2_algo(struct stb0899_state *state)
/* Set the Nominal frequency to the found frequency offset for the next reacquire*/
reg = STB0899_READ_S2REG(STB0899_S2DEMOD, CRL_NOM_FREQ);
STB0899_SETFIELD_VAL(CRL_NOM_FREQ, reg, offsetfreq);
- stb0899_write_s2reg(state, STB0899_S2DEMOD, STB0899_BASE_CRL_NOM_FREQ, STB0899_OFF0_CRL_NOM_FREQ, offsetfreq);
+ stb0899_write_s2reg(state, STB0899_S2DEMOD, STB0899_BASE_CRL_NOM_FREQ, STB0899_OFF0_CRL_NOM_FREQ, reg);
stb0899_dvbs2_reacquire(state);
internal->status = stb0899_dvbs2_get_fec_status(state, searchTime);
i++;
@@ -1463,7 +1463,7 @@ enum stb0899_status stb0899_dvbs2_algo(struct stb0899_state *state)
/* Set the Nominal frequency to the found frequency offset for the next reacquire*/
reg = STB0899_READ_S2REG(STB0899_S2DEMOD, CRL_NOM_FREQ);
STB0899_SETFIELD_VAL(CRL_NOM_FREQ, reg, offsetfreq);
- stb0899_write_s2reg(state, STB0899_S2DEMOD, STB0899_BASE_CRL_NOM_FREQ, STB0899_OFF0_CRL_NOM_FREQ, offsetfreq);
+ stb0899_write_s2reg(state, STB0899_S2DEMOD, STB0899_BASE_CRL_NOM_FREQ, STB0899_OFF0_CRL_NOM_FREQ, reg);
stb0899_dvbs2_reacquire(state);
internal->status = stb0899_dvbs2_get_fec_status(state, searchTime);