diff options
author | David Howells <dhowells@redhat.com> | 2015-06-03 08:35:08 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-06-10 11:12:25 -0300 |
commit | c7275ae16114bd6be4cb83ee02bf801c303a2225 (patch) | |
tree | 327ac314fcfd3672acf709d4f9d9a6b999701821 /drivers/media/dvb-frontends/ts2020.h | |
parent | 0f20baad24f97c3390ae869661408bb3ee12764e (diff) | |
download | op-kernel-dev-c7275ae16114bd6be4cb83ee02bf801c303a2225.zip op-kernel-dev-c7275ae16114bd6be4cb83ee02bf801c303a2225.tar.gz |
[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 002bc0a..9220e5c 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 */ |