[media] rtl2832: wrap DVBv5 BER to DVBv3

Change legacy DVBv3 read BER to return values calculated by DVBv5
statistics.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:
Antti Palosaari
2014-12-14 10:10:22 -03:00
committed by Mauro Carvalho Chehab
parent f7caf93fb8
commit 084330b746
2 changed files with 3 additions and 11 deletions

View File

@@ -36,6 +36,7 @@ struct rtl2832_dev {
struct dvb_frontend fe;
struct delayed_work stat_work;
fe_status_t fe_status;
u64 post_bit_error_prev; /* for old DVBv3 read_ber() calculation */
u64 post_bit_error;
u64 post_bit_count;
bool i2c_gate_state;