[media] TT-budget S2-3200 cannot tune on HB13E DVBS2 transponder
authorLutz Sammer <johns98@gmx.net>
Wed, 4 May 2011 10:27:31 +0000 (07:27 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 21 Sep 2011 20:06:56 +0000 (17:06 -0300)
The FEC fix patch fixed locking on 11,681 Ghz, but not on 12,692 Ghz for
me.

Reviewed-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/stb0899_drv.c

index 37a222d9ddb366ebd201debedec915661589be94..7691282ac16ee63e93ee02f0531d9de1efe6fff1 100644 (file)
@@ -1426,9 +1426,9 @@ static void stb0899_set_iterations(struct stb0899_state *state)
        if (iter_scale > config->ldpc_max_iter)
                iter_scale = config->ldpc_max_iter;
 
-       reg = STB0899_READ_S2REG(STB0899_S2DEMOD, MAX_ITER);
+       reg = STB0899_READ_S2REG(STB0899_S2FEC, MAX_ITER);
        STB0899_SETFIELD_VAL(MAX_ITERATIONS, reg, iter_scale);
-       stb0899_write_s2reg(state, STB0899_S2DEMOD, STB0899_BASE_MAX_ITER, STB0899_OFF0_MAX_ITER, reg);
+       stb0899_write_s2reg(state, STB0899_S2FEC, STB0899_BASE_MAX_ITER, STB0899_OFF0_MAX_ITER, reg);
 }
 
 static enum dvbfe_search stb0899_search(struct dvb_frontend *fe, struct dvb_frontend_parameters *p)