diff options
author | 2015-06-03 08:35:08 -0300 | |
---|---|---|
committer | 2015-06-10 11:12:25 -0300 | |
commit | c7275ae16114bd6be4cb83ee02bf801c303a2225 (patch) | |
tree | 327ac314fcfd3672acf709d4f9d9a6b999701821 /drivers/media/dvb-frontends/ts2020.h | |
parent | [media] ts2020: Copy loop_through from the config to the internal data (diff) | |
download | linux-c7275ae16114bd6be4cb83ee02bf801c303a2225.tar.gz linux-c7275ae16114bd6be4cb83ee02bf801c303a2225.tar.bz2 linux-c7275ae16114bd6be4cb83ee02bf801c303a2225.zip |
[media] ts2020: Allow stats polling to be suppressed
Statistics polling can not be done by lmedm04 driver's implementation of
M88RS2000/TS2020 because I2C messages stop the device's demuxer, so allow
polling for statistics to be suppressed in the ts2020 driver by setting
dont_poll in the ts2020_config struct.
Reported-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Malcolm Priestley <tvboxspy@gmail.com>
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/ts2020.h')
-rw-r--r-- | drivers/media/dvb-frontends/ts2020.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/dvb-frontends/ts2020.h b/drivers/media/dvb-frontends/ts2020.h index 002bc0ac1603..9220e5cf0d21 100644 --- a/drivers/media/dvb-frontends/ts2020.h +++ b/drivers/media/dvb-frontends/ts2020.h @@ -48,6 +48,9 @@ struct ts2020_config { */ u8 clk_out_div:5; + /* Set to true to suppress stat polling */ + bool dont_poll:1; + /* * pointer to DVB frontend */ |