From d3ca949ec5339c33fefd5dd556c073bdcfa9b393 Mon Sep 17 00:00:00 2001 From: Ralph Metzler Date: Sat, 29 Jul 2017 14:47:57 +0200 Subject: [PATCH] wrong bitmask for compatibility mode --- frontends/stv0910.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/frontends/stv0910.c b/frontends/stv0910.c index 12c508b..f3c7796 100644 --- a/frontends/stv0910.c +++ b/frontends/stv0910.c @@ -998,10 +998,9 @@ static int Start(struct stv *state, struct dtv_frontend_properties *p) write_reg(state, RSTV0910_P2_PLROOT1 + state->regoff, (ScramblingCode >> 8) & 0xff); write_reg(state, RSTV0910_P2_PLROOT2 + state->regoff, - (ScramblingCode >> 16) & 0x07); + (ScramblingCode >> 16) & 0x0f); state->CurScramblingCode = ScramblingCode; - //pr_info("PLS=%08x\n", ScramblingCode); - } + } if (p->symbol_rate <= 1000000) { /*SR <=1Msps*/ state->DemodTimeout = 3000;