From 64a4e64e2a2c4c00394b4e8a85ce0a34abcff140 Mon Sep 17 00:00:00 2001 From: Holger Waechtler Date: Mon, 23 Jun 2003 19:40:20 +0000 Subject: FEC index limit mask has to be 0x07 - not 0x3 --- linux/drivers/media/dvb/frontends/grundig_29504-491.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux/drivers') 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]; } -- cgit v1.2.3