diff options
author | Holger Waechtler <devnull@localhost> | 2003-03-18 21:42:00 +0000 |
---|---|---|
committer | Holger Waechtler <devnull@localhost> | 2003-03-18 21:42:00 +0000 |
commit | 8348d0b85fea1dba5f500b1bb5dbc8ecfd3fcd5a (patch) | |
tree | ab48bdd6b00be69b5f34a9311ff3df854751f571 /linux/drivers/media | |
parent | b5993a6ed53e63be59248906da7c7c72bbc20cc7 (diff) | |
download | mediapointer-dvb-s2-8348d0b85fea1dba5f500b1bb5dbc8ecfd3fcd5a.tar.gz mediapointer-dvb-s2-8348d0b85fea1dba5f500b1bb5dbc8ecfd3fcd5a.tar.bz2 |
clear BER and UNC registers after reading
Diffstat (limited to 'linux/drivers/media')
-rw-r--r-- | linux/drivers/media/dvb/frontends/alps_tdmb7.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/frontends/alps_tdmb7.c b/linux/drivers/media/dvb/frontends/alps_tdmb7.c index 41e5d3a0a..1cc3377f6 100644 --- a/linux/drivers/media/dvb/frontends/alps_tdmb7.c +++ b/linux/drivers/media/dvb/frontends/alps_tdmb7.c @@ -356,6 +356,7 @@ int tdmb7_ioctl (struct dvb_frontend *fe, unsigned int cmd, void *arg) case FE_READ_BER: *((uint32_t*) arg) = cx22700_readreg (i2c, 0x0c) & 0x7f; + cx22700_writereg (i2c, 0x0c, 0x00); break; case FE_READ_SIGNAL_STRENGTH: @@ -374,6 +375,7 @@ int tdmb7_ioctl (struct dvb_frontend *fe, unsigned int cmd, void *arg) } case FE_READ_UNCORRECTED_BLOCKS: *((uint32_t*) arg) = cx22700_readreg (i2c, 0x0f); + cx22700_writereg (i2c, 0x0f, 0x00); break; case FE_SET_FRONTEND: |