WSL2-Linux-Kernel/drivers/media/dvb-frontends
Mauro Carvalho Chehab d9aeaa6d4c media: cxd2841er: avoid too many status inquires
I2C ops are expensive, as the I2C bus typical speed is 100kbps.

Also, stats reading take some time, as it requires to retrieve a
certain number of packets to complete.

While we don't know the minimal for CXD2841er, trying to do it
too quickly is still a very bad idea.

So, add some sanity logic there, preventing to retrieve stats
faster than one second.

This shouldn't cause any issues with well behavior apps, as they
usually take stats on a polling rate slower than 1 second.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Sean Young <sean@mess.org>
2019-10-16 12:24:30 -03:00
..
cxd2880
drx39xyj media: drxj: remove redundant assignment to variable rc 2019-10-07 07:46:01 -03:00
Kconfig media: Clarify how menus are hidden by SUBDRV_AUTOSELECT 2019-08-19 12:00:29 -03:00
Makefile
a8293.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
a8293.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
af9013.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
af9013.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
af9013_priv.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
af9033.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
af9033.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
af9033_priv.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
as102_fe.c
as102_fe.h
as102_fe_types.h
ascot2e.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
ascot2e.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
atbm8830.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
atbm8830.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
atbm8830_priv.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
au8522.h
au8522_common.c
au8522_decoder.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
au8522_dig.c
au8522_priv.h
bcm3510.c
bcm3510.h
bcm3510_priv.h
bsbe1-d01a.h
bsbe1.h
bsru6.h
cx22700.c
cx22700.h
cx22702.c
cx22702.h
cx24110.c
cx24110.h
cx24113.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
cx24113.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
cx24116.c
cx24116.h
cx24117.c media: dvb-frontends: fix a memory leak bug 2019-08-21 18:39:54 -03:00
cx24117.h
cx24120.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
cx24120.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
cx24123.c media: don't do a 31 bit shift on a signed int 2019-08-26 14:11:10 -03:00
cx24123.h
cxd2099.c media: dvb-frontends/cxd2099: Make en_templ constant 2019-08-21 18:39:55 -03:00
cxd2099.h
cxd2820r.h
cxd2820r_c.c media: cxd2820r: make arrays tab static const, makes object smaller 2019-10-07 07:43:14 -03:00
cxd2820r_core.c media: cxd2820r: don't check retval after our own assignemt 2019-08-13 11:47:34 -03:00
cxd2820r_priv.h
cxd2820r_t.c media: cxd2820r: make arrays tab static const, makes object smaller 2019-10-07 07:43:14 -03:00
cxd2820r_t2.c media: cxd2820r: make arrays tab static const, makes object smaller 2019-10-07 07:43:14 -03:00
cxd2841er.c media: cxd2841er: avoid too many status inquires 2019-10-16 12:24:30 -03:00
cxd2841er.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
cxd2841er_priv.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
dib0070.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
dib0070.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 372 2019-06-05 17:37:10 +02:00
dib0090.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
dib0090.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 372 2019-06-05 17:37:10 +02:00
dib3000.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 468 2019-06-19 17:09:10 +02:00
dib3000mb.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 468 2019-06-19 17:09:10 +02:00
dib3000mb_priv.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 372 2019-06-05 17:37:10 +02:00
dib3000mc.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 372 2019-06-05 17:37:10 +02:00
dib3000mc.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 372 2019-06-05 17:37:10 +02:00
dib7000m.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 372 2019-06-05 17:37:10 +02:00
dib7000m.h
dib7000p.c media: dvb-frontends: fix memory leaks 2019-08-21 18:39:54 -03:00
dib7000p.h
dib8000.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 372 2019-06-05 17:37:10 +02:00
dib8000.h
dib9000.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 372 2019-06-05 17:37:10 +02:00
dib9000.h
dibx000_common.c
dibx000_common.h
drxd.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 461 2019-06-19 17:09:09 +02:00
drxd_firm.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 461 2019-06-19 17:09:09 +02:00
drxd_firm.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 461 2019-06-19 17:09:09 +02:00
drxd_hard.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 461 2019-06-19 17:09:09 +02:00
drxd_map_firm.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 461 2019-06-19 17:09:09 +02:00
drxk.h
drxk_hard.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 461 2019-06-19 17:09:09 +02:00
drxk_hard.h
drxk_map.h
ds3000.c
ds3000.h
dvb-pll.c media: dvb-frontends: use ida for pll number 2019-08-21 18:39:54 -03:00
dvb-pll.h
dvb_dummy_fe.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
dvb_dummy_fe.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
ec100.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
ec100.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
eds1547.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 372 2019-06-05 17:37:10 +02:00
gp8psk-fe.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 372 2019-06-05 17:37:10 +02:00
gp8psk-fe.h
helene.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
helene.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
horus3a.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
horus3a.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
isl6405.c
isl6405.h
isl6421.c
isl6421.h
isl6423.c
isl6423.h
itd1000.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
itd1000.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
itd1000_priv.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
ix2505v.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
ix2505v.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
l64781.c
l64781.h
lg2160.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
lg2160.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
lgdt330x.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
lgdt330x.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
lgdt330x_priv.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
lgdt3305.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
lgdt3305.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
lgdt3306a.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
lgdt3306a.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
lgs8gl5.c
lgs8gl5.h
lgs8gxx.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
lgs8gxx.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
lgs8gxx_priv.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
lnbh24.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
lnbh25.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
lnbh25.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
lnbh29.c
lnbh29.h
lnbp21.c
lnbp21.h
lnbp22.c
lnbp22.h
m88ds3103.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
m88ds3103.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
m88ds3103_priv.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
m88rs2000.c
m88rs2000.h
mb86a16.c
mb86a16.h
mb86a16_priv.h
mb86a20s.c media: mb86a20s: make the bit rate estimation function more generic 2019-10-16 12:24:03 -03:00
mb86a20s.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 286 2019-06-05 17:36:37 +02:00
mn88443x.c media: dvb-frontends: mn88443x: convert to i2c_new_dummy_device 2019-08-13 11:44:04 -03:00
mn88443x.h
mn88472.c media: mn88472: don't check retval after our own assignemt 2019-08-13 11:48:04 -03:00
mn88472.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
mn88472_priv.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
mn88473.c media: mn88473: don't check retval after our own assignemt 2019-08-13 11:48:18 -03:00
mn88473.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
mn88473_priv.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
mt312.c media: dvb-frontends: Use DIV_ROUND_CLOSEST directly to make it readable 2019-10-16 11:47:14 -03:00
mt312.h
mt312_priv.h
mt352.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
mt352.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
mt352_priv.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
mxl5xx.c
mxl5xx.h
mxl5xx_defs.h
mxl5xx_regs.h
nxt200x.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
nxt200x.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
nxt6000.c
nxt6000.h
nxt6000_priv.h
or51132.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
or51132.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
or51211.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
or51211.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
rtl2830.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
rtl2830.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
rtl2830_priv.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
rtl2832.c
rtl2832.h
rtl2832_priv.h
rtl2832_sdr.c media: media/usb: don't set description in ENUM_FMT 2019-07-22 14:01:05 -04:00
rtl2832_sdr.h
s5h1409.c
s5h1409.h
s5h1411.c
s5h1411.h
s5h1420.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
s5h1420.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
s5h1420_priv.h
s5h1432.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
s5h1432.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
s921.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 286 2019-06-05 17:36:37 +02:00
s921.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 286 2019-06-05 17:36:37 +02:00
si21xx.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
si21xx.h
si2165.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
si2165.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
si2165_priv.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
si2168.c media: si2168: Refactor command setup code 2019-08-21 18:39:54 -03:00
si2168.h media: si2168: use bits instead of bool for flags 2019-10-10 07:05:51 -03:00
si2168_priv.h media: si2168: use bits instead of bool for flags 2019-10-10 07:05:51 -03:00
sp2.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
sp2.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
sp2_priv.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
sp887x.c
sp887x.h
sp8870.c
sp8870.h
stb0899_algo.c
stb0899_cfg.h
stb0899_drv.c
stb0899_drv.h
stb0899_priv.h
stb0899_reg.h
stb6000.c
stb6000.h
stb6100.c
stb6100.h
stb6100_cfg.h
stb6100_proc.h
stv090x.c media: stv090x: fix double free on state object 2019-06-21 15:33:07 -04:00
stv090x.h media: stv090x: Implement probe/remove for stv090x 2019-06-10 15:01:38 -04:00
stv090x_priv.h media: stv090x: Implement probe/remove for stv090x 2019-06-10 15:01:38 -04:00
stv090x_reg.h
stv0288.c
stv0288.h
stv0297.c media: stv0297: fix frequency range limit 2019-06-27 07:33:09 -04:00
stv0297.h
stv0299.c
stv0299.h
stv0367.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
stv0367.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
stv0367_defs.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
stv0367_priv.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
stv0367_regs.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
stv0900.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
stv0900_core.c media: stv0900_core: remove redundant assignment to variables mclk, div and ad_div 2019-08-14 05:04:32 -03:00
stv0900_init.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
stv0900_priv.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
stv0900_reg.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
stv0900_sw.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
stv0910.c
stv0910.h
stv0910_regs.h
stv6110.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
stv6110.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
stv6110x.c media: stv6110x: Implement probe/remove for stv6110x 2019-06-10 14:59:04 -04:00
stv6110x.h media: stv6110x: Implement probe/remove for stv6110x 2019-06-10 14:59:04 -04:00
stv6110x_priv.h media: stv6110x: Implement probe/remove for stv6110x 2019-06-10 14:59:04 -04:00
stv6110x_reg.h
stv6111.c
stv6111.h
tc90522.c media: dvb-frontends/tc90522: extend i2c algo to support some devices 2019-10-07 07:50:41 -03:00
tc90522.h media: dvb-frontends/tc90522: extend i2c algo to support some devices 2019-10-07 07:50:41 -03:00
tda665x.c
tda665x.h
tda826x.c
tda826x.h
tda1002x.h
tda1004x.c
tda1004x.h
tda8083.c
tda8083.h
tda8261.c
tda8261.h
tda8261_cfg.h
tda10021.c
tda10023.c
tda10048.c
tda10048.h
tda10071.c
tda10071.h
tda10071_priv.h
tda10086.c
tda10086.h
tda18271c2dd.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 461 2019-06-19 17:09:09 +02:00
tda18271c2dd.h
tda18271c2dd_maps.h
tdhd1.h
ts2020.c
ts2020.h
tua6100.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2019-06-07 11:00:14 -07:00
tua6100.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
ves1x93.c
ves1x93.h
ves1820.c
ves1820.h
z0194a.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 372 2019-06-05 17:37:10 +02:00
zd1301_demod.c media: zd1301_demod: don't check retval after our own assignemt 2019-08-13 11:48:32 -03:00
zd1301_demod.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
zl10036.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
zl10036.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
zl10039.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
zl10039.h
zl10353.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
zl10353.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
zl10353_priv.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00