summaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends/rtl2832_priv.h
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2014-12-14 10:10:22 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-02-03 16:07:22 -0200
commit084330b746d9fb369cc6df17fdbc9dc8952249bf (patch)
tree886f68b169eb1d34a363f42079c2bf66f8afdf11 /drivers/media/dvb-frontends/rtl2832_priv.h
parentf7caf93fb8ed299c1f9a3d2713c8d588c938316e (diff)
[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>
Diffstat (limited to 'drivers/media/dvb-frontends/rtl2832_priv.h')
-rw-r--r--drivers/media/dvb-frontends/rtl2832_priv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/dvb-frontends/rtl2832_priv.h b/drivers/media/dvb-frontends/rtl2832_priv.h
index 5e90cd49d780..a44614c7af21 100644
--- a/drivers/media/dvb-frontends/rtl2832_priv.h
+++ b/drivers/media/dvb-frontends/rtl2832_priv.h
@@ -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;