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 V4L/DVB (11380): v4l2-subdev: change s_routing prototype 2009-04-06 21:44:27 -03:00
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 V4L/DVB (11065): au8522: add support for analog side of demodulator 2009-03-30 12:43:25 -03:00
au8522.h V4L/DVB (11065): au8522: add support for analog side of demodulator 2009-03-30 12:43:25 -03:00
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 V4L/DVB (10662): remove redundant memset after kzalloc 2009-03-30 12:42:52 -03:00
cx24113.h
cx24116.c V4L/DVB (11723): Link firmware to physical device 2009-06-16 18:20:56 -03:00
cx24116.h
cx24123.c V4L/DVB (10662): remove redundant memset after kzalloc 2009-03-30 12:42:52 -03:00
cx24123.h
dib0070.c
dib0070.h V4L/DVB (10904): remove dib0070_ctrl_agc_filter from dib0070.h 2009-03-30 12:43:14 -03:00
dib3000.h
dib3000mb_priv.h
dib3000mb.c
dib3000mc.c
dib3000mc.h V4L/DVB (10903): cleanup linewraps in dib3000mc.h 2009-03-30 12:43:14 -03:00
dib7000m.c
dib7000m.h V4L/DVB (10902): cleanup linewraps in dib7000m.h 2009-03-30 12:43:14 -03:00
dib7000p.c
dib7000p.h V4L/DVB (10901): cleanup linewraps in dib7000p.h 2009-03-30 12:43:14 -03:00
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 V4L/DVB (11111): dvb_dummy_fe: Fix compilation breakage 2009-03-30 12:43:29 -03:00
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 V4L/DVB (11579): Initial go at TT S2-1600 2009-06-16 18:20:37 -03:00
itd1000_priv.h V4L/DVB (11284): Fix i2c code of flexcop-driver for rare revisions 2009-03-30 12:43:47 -03:00
itd1000.c
itd1000.h
Kconfig V4L/DVB (11579): Initial go at TT S2-1600 2009-06-16 18:20:37 -03:00
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 V4L/DVB (10662): remove redundant memset after kzalloc 2009-03-30 12:42:52 -03:00
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 V4L/DVB (10925): add support for LG Electronics LGDT3305 ATSC/QAM-B Demodulator 2009-03-30 12:43:16 -03:00
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 V4L/DVB (11398): Support for Legend Silicon LGS8913/LGS8GL5/LGS8GXX China DMB-TH digital demodulator 2009-04-06 21:44:32 -03:00
lgs8gxx.c V4L/DVB (12001): lgs8gxx: update signal strength scale 2009-06-16 19:07:56 -03:00
lgs8gxx.h V4L/DVB (11398): Support for Legend Silicon LGS8913/LGS8GL5/LGS8GXX China DMB-TH digital demodulator 2009-04-06 21:44:32 -03:00
lnbh24.h V4L/DVB (10800): Add support for ST LNBH24 LNB power controller. 2009-03-30 12:43:04 -03:00
lnbp21.c V4L/DVB (11931): lnbp21: Add missing newline 2009-06-16 19:07:23 -03:00
lnbp21.h V4L/DVB (10800): Add support for ST LNBH24 LNB power controller. 2009-03-30 12:43:04 -03:00
Makefile V4L/DVB (11579): Initial go at TT S2-1600 2009-06-16 18:20:37 -03:00
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 V4L/DVB (10662): remove redundant memset after kzalloc 2009-03-30 12:42:52 -03:00
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 V4L/DVB (10975): Bug: Use signed types, Offsets and range can be negative 2009-03-13 13:19:16 -03:00
stb0899_cfg.h
stb0899_drv.c V4L/DVB (10974): Use Diseqc 3/3 mode to send data 2009-03-13 13:19:07 -03:00
stb0899_drv.h
stb0899_priv.h V4L/DVB (10975): Bug: Use signed types, Offsets and range can be negative 2009-03-13 13:19:16 -03:00
stb0899_reg.h
stb6000.c
stb6000.h
stb6100_cfg.h V4L/DVB (11248): Remove debug output from stb6100_cfg.h 2009-03-30 12:43:43 -03:00
stb6100.c V4L/DVB (10977): STB6100 init fix, the call to stb6100_set_bandwidth needs an argument 2009-03-13 13:19:34 -03:00
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 V4L/DVB (11057): Fix CiMax stability in Netup Dual DVB-S2 CI 2009-03-30 12:43:24 -03:00
stv0900_priv.h V4L/DVB (12098): Create table for customize stv0900 ts registers. 2009-06-23 03:14:12 -03:00
stv0900_reg.h V4L/DVB (10801): Add headers for ST STV0900 dual demodulator. 2009-03-30 12:43:04 -03:00
stv0900_sw.c V4L/DVB (10804): Add support for ST STV0900 dual demodulator. 2009-03-30 12:43:05 -03:00
stv0900.h V4L/DVB (12098): Create table for customize stv0900 ts registers. 2009-06-23 03:14:12 -03:00
stv6110.c V4L/DVB (10799): Add support for ST STV6110 silicon tuner. 2009-03-30 12:43:04 -03:00
stv6110.h V4L/DVB (10799): Add support for ST STV6110 silicon tuner. 2009-03-30 12:43:04 -03:00
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 V4L/DVB (11579): Initial go at TT S2-1600 2009-06-16 18:20:37 -03:00
stv6110x.c V4L/DVB (11592): stv6110x: Fix read bug 2009-06-16 18:20:40 -03:00
stv6110x.h V4L/DVB (11579): Initial go at TT S2-1600 2009-06-16 18:20:37 -03:00
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 V4L/DVB (10822): Add support for Zarlink ZL10036 DVB-S tuner. 2009-03-30 12:43:06 -03:00
zl10036.h V4L/DVB (10822): Add support for Zarlink ZL10036 DVB-S tuner. 2009-03-30 12:43:06 -03:00
zl10353_priv.h V4L/DVB (11215): zl10353: add support for Intel CE6230 and Intel CE6231 2009-03-30 12:43:40 -03:00
zl10353.c V4L/DVB (12341): zl10353 and qt1010: fix stack corruption bug 2009-08-13 20:39:02 -03:00
zl10353.h V4L/DVB (11215): zl10353: add support for Intel CE6230 and Intel CE6231 2009-03-30 12:43:40 -03:00