diff options
author | Antti Palosaari <crope@iki.fi> | 2016-06-29 20:40:56 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-07-08 17:02:33 -0300 |
commit | 4a7e445b1b02cc6acd051c064cae7c325e411842 (patch) | |
tree | b15c84a074568693ab3315355d45d5f19a3b9eea /drivers/media/dvb-frontends/rtl2830_priv.h | |
parent | 95e7cdb7db5857ddb3af01d9cd9895eb24a3b93f (diff) | |
download | op-kernel-dev-4a7e445b1b02cc6acd051c064cae7c325e411842.zip op-kernel-dev-4a7e445b1b02cc6acd051c064cae7c325e411842.tar.gz |
[media] rtl2830: move statistics to read_status()
Move statistics polling to read_status() in order to avoid use of
kernel work. Also replace home made sign extension used for
statistics with kernel sign_extend32().
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/dvb-frontends/rtl2830_priv.h')
-rw-r--r-- | drivers/media/dvb-frontends/rtl2830_priv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/rtl2830_priv.h b/drivers/media/dvb-frontends/rtl2830_priv.h index da49095..8ec4721 100644 --- a/drivers/media/dvb-frontends/rtl2830_priv.h +++ b/drivers/media/dvb-frontends/rtl2830_priv.h @@ -24,6 +24,7 @@ #include <linux/i2c-mux.h> #include <linux/math64.h> #include <linux/regmap.h> +#include <linux/bitops.h> struct rtl2830_dev { struct rtl2830_platform_data *pdata; @@ -33,7 +34,6 @@ struct rtl2830_dev { struct dvb_frontend fe; bool sleeping; unsigned long filters; - struct delayed_work stat_work; enum fe_status fe_status; u64 post_bit_error_prev; /* for old DVBv3 read_ber() calculation */ u64 post_bit_error; |