linux-xiaomi-chiron/drivers/media/dvb-frontends
Mauro Carvalho Chehab f7a35df15b [media] stv090x: Don't use dynamic static allocation
Dynamic static allocation is evil, as Kernel stack is too low, and
compilation complains about it on some archs:
       drivers/media/dvb-frontends/stv090x.c:750:1: warning: 'stv090x_write_regs.constprop.6' uses dynamic stack allocation [enabled by default]
Instead, let's enforce a limit for the buffer. Considering that I2C
transfers are generally limited, and that devices used on USB has a
max data length of 64 bytes for	the control URBs.
So, it seem safe to use 64 bytes as the hard limit for all those devices.
 On most cases, the limit is a way lower than that, but	this limit
is small enough to not affect the Kernel stack, and it is a no brain
limit, as using smaller ones would require to either carefully each
driver or to take a look on each datasheet.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Reviewed-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
2013-11-08 09:45:40 -02:00
..
a8293.c
a8293.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
af9013.c [media] dvb-frontends: Don't use dynamic static allocation 2013-11-08 09:45:39 -02:00
af9013.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
af9013_priv.h
af9033.c [media] dvb-frontends: Don't use dynamic static allocation 2013-11-08 09:45:39 -02:00
af9033.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
af9033_priv.h [media] af9033: add IT9135 tuner config "62" init table 2013-03-21 19:04:25 -03:00
atbm8830.c
atbm8830.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
atbm8830_priv.h
au8522.h [media] Fix undefined reference to `au8522_attach' 2013-03-26 08:37:48 -03:00
au8522_common.c
au8522_decoder.c [media] au8522_decoder: remove g_chip_ident op 2013-06-17 08:48:39 -03:00
au8522_dig.c
au8522_priv.h [media] au8522_decoder: convert to the control framework 2013-03-25 15:09:59 -03:00
bcm3510.c [media] dvb-frontends: Don't use dynamic static allocation 2013-11-08 09:45:38 -02:00
bcm3510.h
bcm3510_priv.h
bsbe1-d01a.h
bsbe1.h
bsru6.h
cx22700.c
cx22700.h
cx22702.c
cx22702.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
cx24110.c [media] media: Remove unnecessary semicolons 2013-10-17 05:51:57 -03:00
cx24110.h
cx24113.c
cx24113.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
cx24116.c
cx24116.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
cx24117.c [media] cx24117: prevent mutex to be stuck on locked state if FE init fails 2013-10-14 06:38:56 -03:00
cx24117.h [media] cx24117: use hybrid_tuner_request/release_state to share state between multiple instances 2013-10-03 07:40:12 -03:00
cx24123.c [media] media: Remove unnecessary semicolons 2013-10-17 05:51:57 -03:00
cx24123.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
cxd2820r.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
cxd2820r_c.c
cxd2820r_core.c [media] dvb-frontends: Don't use dynamic static allocation 2013-11-08 09:45:39 -02:00
cxd2820r_priv.h
cxd2820r_t.c
cxd2820r_t2.c [media] cxd2820r_t2: Fix a warning: stream_id is unsigned 2013-04-15 08:32:41 -03:00
dib0070.c
dib0070.h
dib0090.c [media] dib0090: Fix a warning at dib0090_set_EFUSE 2013-04-25 16:06:55 -03:00
dib0090.h
dib3000.h
dib3000mb.c
dib3000mb_priv.h
dib3000mc.c
dib3000mc.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
dib7000m.c
dib7000m.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
dib7000p.c [media] dib7000p: enhancement 2013-04-22 17:13:43 -03:00
dib7000p.h [media] dib7000p: enhancement 2013-04-22 17:13:43 -03:00
dib8000.c [media] dib8000: Fix dib8000_set_frontend() never setting ret 2013-06-08 19:56:48 -03:00
dib8000.h [media] dib8000: enhancement 2013-04-22 16:58:16 -03:00
dib9000.c [media] dib9000: fix typo in spelling the word empty 2013-10-02 06:48:14 -03:00
dib9000.h
dibx000_common.c
dibx000_common.h [media] dib8000: enhancement 2013-04-22 16:58:16 -03:00
drxd.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
drxd_firm.c
drxd_firm.h
drxd_hard.c [media] drxd_hard: fix sparse warnings 2013-10-17 05:54:31 -03:00
drxd_map_firm.h
drxk.h [media] drxk_hard: Don't use CamelCase 2013-06-08 22:04:23 -03:00
drxk_hard.c [media] drxk_hard: fix sparse warnings 2013-10-17 05:54:46 -03:00
drxk_hard.h [media] drxk_hard.h: don't use more than 80 columns 2013-06-08 22:09:41 -03:00
drxk_map.h [media] drxk: Add pre/post BER and PER/UCB stats 2013-03-21 10:26:50 -03:00
ds3000.c
ds3000.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
dvb-pll.c
dvb-pll.h
dvb_dummy_fe.c
dvb_dummy_fe.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
ec100.c
ec100.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
eds1547.h
hd29l2.c
hd29l2.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
hd29l2_priv.h
isl6405.c
isl6405.h
isl6421.c [media] cx88: kernel bz#9476: Fix tone setting for Nova-S+ model 92001 2013-04-08 06:56:47 -03:00
isl6421.h [media] cx88: kernel bz#9476: Fix tone setting for Nova-S+ model 92001 2013-04-08 06:56:47 -03:00
isl6423.c
isl6423.h
it913x-fe-priv.h
it913x-fe.c
it913x-fe.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
itd1000.c [media] dvb-frontends: Don't use dynamic static allocation 2013-11-08 09:45:38 -02:00
itd1000.h
itd1000_priv.h
ix2505v.c
ix2505v.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
Kconfig [media] dvb: add cx24117 frontend 2013-10-03 07:38:26 -03:00
l64781.c
l64781.h
lg2160.c
lg2160.h [media] lg2160: dubious one-bit signed bitfield 2013-04-22 10:04:20 -03:00
lgdt330x.c
lgdt330x.h
lgdt330x_priv.h
lgdt3305.c
lgdt3305.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
lgs8gl5.c
lgs8gl5.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
lgs8gxx.c
lgs8gxx.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
lgs8gxx_priv.h
lnbh24.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
lnbp21.c
lnbp21.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
lnbp22.c
lnbp22.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
m88rs2000.c
m88rs2000.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
Makefile [media] dvb: add cx24117 frontend 2013-10-03 07:38:26 -03:00
mb86a16.c
mb86a16.h
mb86a16_priv.h
mb86a20s.c [media] mb86a20s: Fix TS parallel mode 2013-08-22 12:06:29 -03:00
mb86a20s.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
mt312.c [media] dvb-frontends: Don't use dynamic static allocation 2013-11-08 09:45:38 -02:00
mt312.h
mt312_priv.h
mt352.c
mt352.h
mt352_priv.h
nxt200x.c [media] dvb-frontends: Don't use dynamic static allocation 2013-11-08 09:45:38 -02:00
nxt200x.h
nxt6000.c
nxt6000.h
nxt6000_priv.h
or51132.c
or51132.h
or51211.c
or51211.h
rtl2830.c [media] dvb-frontends: Don't use dynamic static allocation 2013-11-08 09:45:39 -02:00
rtl2830.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
rtl2830_priv.h
rtl2832.c [media] dvb-frontends: Don't use dynamic static allocation 2013-11-08 09:45:39 -02:00
rtl2832.h [media] rtl2832: add new tuner R828D 2013-10-31 06:09:23 -02:00
rtl2832_priv.h [media] rtl2832: add code to bind r820t on it 2013-04-16 21:25:52 -03:00
s5h1409.c
s5h1409.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
s5h1411.c
s5h1411.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
s5h1420.c [media] s5h1420: Don't use dynamic static allocation 2013-11-08 09:45:38 -02:00
s5h1420.h
s5h1420_priv.h
s5h1432.c
s5h1432.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
s921.c
s921.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
si21xx.c
si21xx.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
sp887x.c
sp887x.h
sp8870.c
sp8870.h
stb0899_algo.c [media] stb0899: sign of CRL_FREQ doesn't depend on inversion 2013-06-08 20:15:09 -03:00
stb0899_cfg.h
stb0899_drv.c [media] stb0899_drv: Don't use dynamic static allocation 2013-11-08 09:45:39 -02:00
stb0899_drv.h [media] stb0899: fix inversion enum values to match usage with CFR 2013-06-08 20:13:29 -03:00
stb0899_priv.h
stb0899_reg.h
stb6000.c
stb6000.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
stb6100.c [media] dvb-frontends: Don't use dynamic static allocation 2013-11-08 09:45:38 -02:00
stb6100.h
stb6100_cfg.h
stb6100_proc.h
stv090x.c [media] stv090x: Don't use dynamic static allocation 2013-11-08 09:45:40 -02:00
stv090x.h
stv090x_priv.h
stv090x_reg.h
stv0288.c
stv0288.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
stv0297.c
stv0297.h
stv0299.c
stv0299.h
stv0367.c [media] stv0367: Don't use dynamic static allocation 2013-11-08 09:45:40 -02:00
stv0367.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
stv0367_priv.h
stv0367_regs.h
stv0900.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
stv0900_core.c
stv0900_init.h
stv0900_priv.h
stv0900_reg.h
stv0900_sw.c
stv6110.c [media] dvb-frontends: Don't use dynamic static allocation 2013-11-08 09:45:38 -02:00
stv6110.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
stv6110x.c [media] dvb-frontends: Don't use dynamic static allocation 2013-11-08 09:45:38 -02:00
stv6110x.h
stv6110x_priv.h
stv6110x_reg.h
tda665x.c
tda665x.h
tda826x.c
tda826x.h
tda1002x.h
tda1004x.c
tda1004x.h
tda8083.c [media] media: Remove unnecessary semicolons 2013-10-17 05:51:57 -03:00
tda8083.h
tda8261.c
tda8261.h
tda8261_cfg.h
tda10021.c
tda10023.c
tda10048.c
tda10048.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
tda10071.c [media] dvb-frontends: Don't use dynamic static allocation 2013-11-08 09:45:39 -02:00
tda10071.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
tda10071_priv.h
tda10086.c
tda10086.h
tda18271c2dd.c [media] dvb-frontends: Don't use dynamic static allocation 2013-11-08 09:45:38 -02:00
tda18271c2dd.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
tda18271c2dd_maps.h
tdhd1.h
ts2020.c [media] ts2020: keep 1.06 MHz as default value for frequency_div 2013-10-02 06:48:15 -03:00
ts2020.h [media] media: dvb-frontends: ts2020: Added in a option for frequency divider value for s600 devices 2013-10-02 06:48:14 -03:00
tua6100.c
tua6100.h
ves1x93.c
ves1x93.h
ves1820.c
ves1820.h
z0194a.h
zl10036.c
zl10036.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
zl10039.c [media] dvb-frontends: Don't use dynamic static allocation 2013-11-08 09:45:38 -02:00
zl10039.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
zl10353.c
zl10353.h
zl10353_priv.h