diff options
author | Oliver Endriss <o.endriss@gmx.de> | 2007-10-31 05:50:47 +0100 |
---|---|---|
committer | Oliver Endriss <o.endriss@gmx.de> | 2007-10-31 05:50:47 +0100 |
commit | 49b0c68c88ca349c8b1282e8e7d1efa9526af866 (patch) | |
tree | 76dacc1105cb69496b5c4dc9b5888379d95fe32a | |
parent | 4d3af5f9a98cd25f73a66f8576559c54a8baf06f (diff) | |
download | mediapointer-dvb-s2-49b0c68c88ca349c8b1282e8e7d1efa9526af866.tar.gz mediapointer-dvb-s2-49b0c68c88ca349c8b1282e8e7d1efa9526af866.tar.bz2 |
tda10021: Bit error counting fixed
From: Hartmut Birr <e9hack@googlemail.com>
Bit error counting fixed for the tda10021.
Signed-off-by: Hartmut Birr <e9hack@googlemail.com>
Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
-rw-r--r-- | linux/drivers/media/dvb/frontends/tda10021.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/frontends/tda10021.c b/linux/drivers/media/dvb/frontends/tda10021.c index 6848a34d4..832817a30 100644 --- a/linux/drivers/media/dvb/frontends/tda10021.c +++ b/linux/drivers/media/dvb/frontends/tda10021.c @@ -301,6 +301,8 @@ static int tda10021_read_ber(struct dvb_frontend* fe, u32* ber) u32 _ber = tda10021_readreg(state, 0x14) | (tda10021_readreg(state, 0x15) << 8) | ((tda10021_readreg(state, 0x16) & 0x0f) << 16); + _tda10021_writereg(state, 0x10, (tda10021_readreg(state, 0x10) & ~0xc0) + | (tda10021_inittab[0x10] & 0xc0)); *ber = 10 * _ber; return 0; |