summaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends/rtl2830_priv.h
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2014-12-09 16:27:32 +0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-02-02 22:55:51 +0300
commitf491391cc331921524aed578075e93f622a5e533 (patch)
tree82521abc5462e291e5c2b5f74971b9a583474470 /drivers/media/dvb-frontends/rtl2830_priv.h
parentd512e286512c38e8921317c3a2c772559a91a636 (diff)
downloadlinux-f491391cc331921524aed578075e93f622a5e533.tar.xz
[media] rtl2830: wrap DVBv5 BER to DVBv3
Change legacy DVBv3 read BER to return values calculated by DVBv5 statistics. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends/rtl2830_priv.h')
-rw-r--r--drivers/media/dvb-frontends/rtl2830_priv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/dvb-frontends/rtl2830_priv.h b/drivers/media/dvb-frontends/rtl2830_priv.h
index cdcaacfa89c8..6636834baf20 100644
--- a/drivers/media/dvb-frontends/rtl2830_priv.h
+++ b/drivers/media/dvb-frontends/rtl2830_priv.h
@@ -32,6 +32,7 @@ struct rtl2830_dev {
u8 page; /* active register page */
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;
};