android_kernel_xiaomi_sm8350/drivers/media/dvb/frontends
Matthias Schwarzott 084e24acc9 V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly
This patch changes most frontend drivers to allocate their state structure via
kzalloc and not kmalloc. This is done to properly initialize the
embedded "struct dvb_frontend frontend" field, that they all have.

The visible effect of this struct being uninitalized is, that the member "id"
that is used to set the name of kernel thread is totally random.

Some board drivers (for example cx88-dvb) set this "id" via
videobuf_dvb_alloc_frontend but most do not.

So I at least get random id values for saa7134, flexcop and ttpci based cards.
It looks like this in dmesg:
DVB: registering adapter 1 frontend -10551321 (ST STV0299 DVB-S)

The related kernel thread then also gets a strange name
like "kdvb-ad-1-fe--1".

Cc: Michael Krufky <mkrufky@linuxtv.org>
Cc: Steven Toth <stoth@linuxtv.org>
Cc: Timothy Lee <timothy.lee@siriushk.com>
Cc: Igor M. Liplianin <liplianin@me.by>
Signed-off-by: Matthias Schwarzott <zzam@gentoo.org>
Acked-by: Andreas Oberritter <obi@linuxtv.org>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-08-13 20:39:14 -03:00
..
af9013_priv.h
af9013.c V4L/DVB (12269): af9013: auto-detect parameters in case of garbage given by app 2009-07-24 14:03:29 -03:00
af9013.h
au8522_decoder.c
au8522_dig.c V4L/DVB (11987): au8522: add support for QAM-64 modulation type 2009-06-16 19:07:49 -03:00
au8522_priv.h
au8522.h
bcm3510_priv.h
bcm3510.c
bcm3510.h
bsbe1.h
bsru6.h
cx22700.c V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly 2009-08-13 20:39:14 -03:00
cx22700.h
cx22702.c V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly 2009-08-13 20:39:14 -03:00
cx22702.h
cx24110.c V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly 2009-08-13 20:39:14 -03:00
cx24110.h
cx24113.c
cx24113.h
cx24116.c V4L/DVB (11723): Link firmware to physical device 2009-06-16 18:20:56 -03:00
cx24116.h
cx24123.c
cx24123.h
dib0070.c
dib0070.h
dib3000.h
dib3000mb_priv.h
dib3000mb.c
dib3000mc.c
dib3000mc.h
dib7000m.c
dib7000m.h
dib7000p.c
dib7000p.h
dibx000_common.c
dibx000_common.h
drx397xD_fw.h
drx397xD.c V4L/DVB (11723): Link firmware to physical device 2009-06-16 18:20:56 -03:00
drx397xD.h
dvb_dummy_fe.c V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly 2009-08-13 20:39:14 -03:00
dvb_dummy_fe.h
dvb-pll.c
dvb-pll.h
eds1547.h
isl6405.c
isl6405.h
isl6421.c
isl6421.h
isl6423.c V4L/DVB (11583): isl6423: Various fixes to use external modulation 2009-06-16 18:20:38 -03:00
isl6423.h
itd1000_priv.h
itd1000.c
itd1000.h
Kconfig
l64781.c V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly 2009-08-13 20:39:14 -03:00
l64781.h
lgdt330x_priv.h
lgdt330x.c
lgdt330x.h
lgdt3304.c
lgdt3304.h
lgdt3305.c V4L/DVB (11877): lgdt3305: fix 64bit division in function lgdt3305_set_if 2009-06-16 19:14:15 -03:00
lgdt3305.h
lgs8gl5.c V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly 2009-08-13 20:39:14 -03:00
lgs8gl5.h
lgs8gxx_priv.h
lgs8gxx.c V4L/DVB (12001): lgs8gxx: update signal strength scale 2009-06-16 19:07:56 -03:00
lgs8gxx.h
lnbh24.h
lnbp21.c V4L/DVB (11931): lnbp21: Add missing newline 2009-06-16 19:07:23 -03:00
lnbp21.h
Makefile
mt312_priv.h
mt312.c V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly 2009-08-13 20:39:14 -03:00
mt312.h
mt352_priv.h
mt352.c
mt352.h
nxt200x.c V4L/DVB (11723): Link firmware to physical device 2009-06-16 18:20:56 -03:00
nxt200x.h
nxt6000_priv.h
nxt6000.c V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly 2009-08-13 20:39:14 -03:00
nxt6000.h
or51132.c V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly 2009-08-13 20:39:14 -03:00
or51132.h
or51211.c V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly 2009-08-13 20:39:14 -03:00
or51211.h
s5h1409.c V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly 2009-08-13 20:39:14 -03:00
s5h1409.h
s5h1411.c V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly 2009-08-13 20:39:14 -03:00
s5h1411.h
s5h1420_priv.h
s5h1420.c
s5h1420.h
s921_core.c
s921_core.h
s921_module.c
s921_module.h
si21xx.c V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly 2009-08-13 20:39:14 -03:00
si21xx.h
sp887x.c V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly 2009-08-13 20:39:14 -03:00
sp887x.h
sp8870.c V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly 2009-08-13 20:39:14 -03:00
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_cfg.h
stb6100.c
stb6100.h
stv090x_priv.h V4L/DVB (11682): STV0900/STV0903: Add support for Silicon cut >= 3 2009-06-16 18:20:51 -03:00
stv090x_reg.h V4L/DVB (11682): STV0900/STV0903: Add support for Silicon cut >= 3 2009-06-16 18:20:51 -03:00
stv090x.c V4L/DVB (12131): BUGFIX: An incorrect Carrier Recovery Loop optimization table was being 2009-06-23 03:29:57 -03:00
stv090x.h V4L/DVB (11581): stv090x and stv6110x: fix repeater level setup and ref clock 2009-06-16 18:20:38 -03:00
stv0288.c V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly 2009-08-13 20:39:14 -03:00
stv0288.h
stv0297.c V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly 2009-08-13 20:39:14 -03:00
stv0297.h
stv0299.c V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly 2009-08-13 20:39:14 -03:00
stv0299.h
stv0900_core.c V4L/DVB (12098): Create table for customize stv0900 ts registers. 2009-06-23 03:14:12 -03:00
stv0900_init.h
stv0900_priv.h V4L/DVB (12098): Create table for customize stv0900 ts registers. 2009-06-23 03:14:12 -03:00
stv0900_reg.h
stv0900_sw.c
stv0900.h V4L/DVB (12098): Create table for customize stv0900 ts registers. 2009-06-23 03:14:12 -03:00
stv6110.c
stv6110.h
stv6110x_priv.h V4L/DVB (11581): stv090x and stv6110x: fix repeater level setup and ref clock 2009-06-16 18:20:38 -03:00
stv6110x_reg.h
stv6110x.c V4L/DVB (11592): stv6110x: Fix read bug 2009-06-16 18:20:40 -03:00
stv6110x.h
tda826x.c
tda826x.h
tda1002x.h
tda1004x.c V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly 2009-08-13 20:39:14 -03:00
tda1004x.h
tda8083.c V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly 2009-08-13 20:39:14 -03:00
tda8083.h
tda8261_cfg.h
tda8261.c
tda8261.h
tda10021.c V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly 2009-08-13 20:39:14 -03:00
tda10023.c
tda10048.c V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly 2009-08-13 20:39:14 -03:00
tda10048.h V4L/DVB (11854): TDA10048: Ensure the I/F changes during DVB-T 6/7/8 bandwidth changes. 2009-06-16 18:21:13 -03:00
tda10086.c V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly 2009-08-13 20:39:14 -03:00
tda10086.h
tdhd1.h
tua6100.c
tua6100.h
ves1x93.c V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly 2009-08-13 20:39:14 -03:00
ves1x93.h
ves1820.c V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly 2009-08-13 20:39:14 -03:00
ves1820.h
z0194a.h
zl10036.c
zl10036.h
zl10353_priv.h
zl10353.c V4L/DVB (12341): zl10353 and qt1010: fix stack corruption bug 2009-08-13 20:39:02 -03:00
zl10353.h