aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarko Schluessler <marco@lordzodiac.de>2007-09-21 17:40:14 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-29 14:53:15 -0500
commit08bcdbec683c8ded6d19f361cd806efcb77c287f (patch)
tree0588ce63ffc7ef9481e12e4cf7afa54f0b4a150e
parenta18d43156a09e57dada62b1c51f229a6d0da02d6 (diff)
V4L/DVB (9390): Offset Freq has been set in reg
Signed-off-by: Marko Schluessler <marco@lordzodiac.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/stb0899_algo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb/frontends/stb0899_algo.c b/drivers/media/dvb/frontends/stb0899_algo.c
index 5b55b0dea7e4..3fbf00ed79d3 100644
--- a/drivers/media/dvb/frontends/stb0899_algo.c
+++ b/drivers/media/dvb/frontends/stb0899_algo.c
@@ -1419,7 +1419,7 @@ enum stb0899_status stb0899_dvbs2_algo(struct stb0899_state *state)
1419 /* Set the Nominal frequency to the found frequency offset for the next reacquire*/ 1419 /* Set the Nominal frequency to the found frequency offset for the next reacquire*/
1420 reg = STB0899_READ_S2REG(STB0899_S2DEMOD, CRL_NOM_FREQ); 1420 reg = STB0899_READ_S2REG(STB0899_S2DEMOD, CRL_NOM_FREQ);
1421 STB0899_SETFIELD_VAL(CRL_NOM_FREQ, reg, offsetfreq); 1421 STB0899_SETFIELD_VAL(CRL_NOM_FREQ, reg, offsetfreq);
1422 stb0899_write_s2reg(state, STB0899_S2DEMOD, STB0899_BASE_CRL_NOM_FREQ, STB0899_OFF0_CRL_NOM_FREQ, offsetfreq); 1422 stb0899_write_s2reg(state, STB0899_S2DEMOD, STB0899_BASE_CRL_NOM_FREQ, STB0899_OFF0_CRL_NOM_FREQ, reg);
1423 stb0899_dvbs2_reacquire(state); 1423 stb0899_dvbs2_reacquire(state);
1424 internal->status = stb0899_dvbs2_get_fec_status(state, searchTime); 1424 internal->status = stb0899_dvbs2_get_fec_status(state, searchTime);
1425 i++; 1425 i++;
@@ -1450,7 +1450,7 @@ enum stb0899_status stb0899_dvbs2_algo(struct stb0899_state *state)
1450 /* Set the Nominal frequency to the found frequency offset for the next reacquire*/ 1450 /* Set the Nominal frequency to the found frequency offset for the next reacquire*/
1451 reg = STB0899_READ_S2REG(STB0899_S2DEMOD, CRL_NOM_FREQ); 1451 reg = STB0899_READ_S2REG(STB0899_S2DEMOD, CRL_NOM_FREQ);
1452 STB0899_SETFIELD_VAL(CRL_NOM_FREQ, reg, offsetfreq); 1452 STB0899_SETFIELD_VAL(CRL_NOM_FREQ, reg, offsetfreq);
1453 stb0899_write_s2reg(state, STB0899_S2DEMOD, STB0899_BASE_CRL_NOM_FREQ, STB0899_OFF0_CRL_NOM_FREQ, offsetfreq); 1453 stb0899_write_s2reg(state, STB0899_S2DEMOD, STB0899_BASE_CRL_NOM_FREQ, STB0899_OFF0_CRL_NOM_FREQ, reg);
1454 1454
1455 stb0899_dvbs2_reacquire(state); 1455 stb0899_dvbs2_reacquire(state);
1456 internal->status = stb0899_dvbs2_get_fec_status(state, searchTime); 1456 internal->status = stb0899_dvbs2_get_fec_status(state, searchTime);