summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolger Waechtler <devnull@localhost>2003-06-23 19:40:20 +0000
committerHolger Waechtler <devnull@localhost>2003-06-23 19:40:20 +0000
commit64a4e64e2a2c4c00394b4e8a85ce0a34abcff140 (patch)
tree7bb5c2af7abba05dc3267db0419ec6a87ef2d059
parente4c06903047a9d3e7ba991427f533748b932ac94 (diff)
downloadmediapointer-dvb-s2-64a4e64e2a2c4c00394b4e8a85ce0a34abcff140.tar.gz
mediapointer-dvb-s2-64a4e64e2a2c4c00394b4e8a85ce0a34abcff140.tar.bz2
FEC index limit mask has to be 0x07 - not 0x3
-rw-r--r--linux/drivers/media/dvb/frontends/grundig_29504-491.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/frontends/grundig_29504-491.c b/linux/drivers/media/dvb/frontends/grundig_29504-491.c
index f0db66fb9..c15636317 100644
--- a/linux/drivers/media/dvb/frontends/grundig_29504-491.c
+++ b/linux/drivers/media/dvb/frontends/grundig_29504-491.c
@@ -179,7 +179,7 @@ static fe_code_rate_t tda8083_get_fec (struct dvb_i2c_bus *i2c)
static fe_code_rate_t fec_tab [] = { FEC_8_9, FEC_1_2, FEC_2_3, FEC_3_4,
FEC_4_5, FEC_5_6, FEC_6_7, FEC_7_8 };
- index = tda8083_readreg (i2c, 0x0e) & 0x3;
+ index = tda8083_readreg(i2c, 0x0e) & 0x07;
return fec_tab [index];
}