stv0910 fixed typo in get frequency offset

This commit is contained in:
mvoelkel 2016-05-10 11:49:09 +02:00
parent d988c8562b
commit a8d5d5b50d
1 changed files with 2 additions and 2 deletions

View File

@ -1060,8 +1060,8 @@ static int get_frequency_offset(struct stv *state, s32 *off)
s32 derot;
read_reg(state, RSTV0910_P2_CFR2 + state->regoff, &cfr2);
read_reg(state, RSTV0910_P2_CFR2 + state->regoff, &cfr1);
read_reg(state, RSTV0910_P2_CFR2 + state->regoff, &cfr0);
read_reg(state, RSTV0910_P2_CFR1 + state->regoff, &cfr1);
read_reg(state, RSTV0910_P2_CFR0 + state->regoff, &cfr0);
derot = ((u32) cfr2 << 16) | ((u32)cfr1 << 8) | cfr0;
if (derot & (1<<23))