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 V4L/DVB (8971): initial driver for af9013 demodulator 2008-10-12 09:37:02 -02:00
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 V4L/DVB (8971): initial driver for af9013 demodulator 2008-10-12 09:37:02 -02:00
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 dvb frontends: treat firmware data as const 2008-07-10 14:26:31 +01:00
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 V4L/DVB (9256): cx22702: Checkpatch compliance 2008-10-17 17:27:42 -03:00
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 V4L/DVB (8906): v4l-dvb: fix assorted sparse warnings 2008-10-12 09:36:58 -02:00
cx24113.c V4L/DVB (10662): remove redundant memset after kzalloc 2009-03-30 12:42:52 -03:00
cx24113.h V4L/DVB (9811): Add support for the CX24113 DVB-S tuner driver 2008-12-30 09:38:34 -02:00
cx24116.c V4L/DVB (11723): Link firmware to physical device 2009-06-16 18:20:56 -03:00
cx24116.h V4L/DVB (10144): cx24116: build fix 2009-01-02 17:12:12 -02:00
cx24123.c V4L/DVB (10662): remove redundant memset after kzalloc 2009-03-30 12:42:52 -03:00
cx24123.h V4L/DVB (9260): cx24123: Checkpatch compliance 2008-10-17 17:27:56 -03:00
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 V4L/DVB (8946): dib7000m: fix powerpc build error 2008-10-12 09:37:00 -02:00
dib7000m.h V4L/DVB (10902): cleanup linewraps in dib7000m.h 2009-03-30 12:43:14 -03:00
dib7000p.c V4L/DVB (8654): cxusb: add support for DViCO FusionHDTV DVB-T Dual Digital 4 (rev 2) 2008-10-12 09:36:49 -02:00
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 V4L/DVB (10129): dvb: remove deprecated use of RW_LOCK_UNLOCKED in frontends 2008-12-30 09:40:40 -02:00
drx397xD.c V4L/DVB (11723): Link firmware to physical device 2009-06-16 18:20:56 -03:00
drx397xD.h V4L/DVB (8725): drx397xD.c sparse annotations 2008-10-12 09:36:51 -02:00
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 V4L/DVB (9379): FIX: fix a bug in the charge pump setting 2008-12-29 17:53:14 -02:00
dvb-pll.h V4L/DVB (7913): DVB-PLL: add Samsung DTOS403IH102A tuner 2008-07-20 07:06:12 -03:00
eds1547.h V4L/DVB (9176): Add support for DvbWorld USB cards with STV0288 demodulator. 2008-10-13 12:27:03 -02:00
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 V4L/DVB (7857): make itd1000_fre_values[] static const 2008-05-14 02:54:10 -03:00
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 V4L/DVB (8146): lgdt330x: add additional FEC control configuration option 2008-07-20 07:14:05 -03:00
lgdt330x.h
lgdt3304.c V4L/DVB (10662): remove redundant memset after kzalloc 2009-03-30 12:42:52 -03:00
lgdt3304.h V4L/DVB (9367): Move lgdt3304 driver to the proper place and allow it to compile 2008-12-29 17:53:13 -02:00
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 V4L/DVB (8657): cxusb: add lgs8gl5 and support for Magic-Pro DMB-TH usb stick 2008-10-12 09:36:49 -02:00
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 V4L/DVB (7861): mt312: Prefix functions only with mt312_, Add zl10313 to kconfig description 2008-05-14 02:54:12 -03:00
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 V4L/DVB (9258): s5h1409: Checkpatch compliance 2008-10-17 17:27:48 -03:00
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 V4L/DVB (9313): s5h1411: Add the #define for an existing supporting I/F 2008-10-21 14:30:59 -02:00
s5h1420_priv.h
s5h1420.c V4L/DVB (9043): S5H1420: Fix size of shadow-array to avoid overflow 2008-10-04 23:01:21 -03:00
s5h1420.h V4L/DVB (9037): Fix support for Hauppauge Nova-S SE 2008-10-04 23:00:46 -03:00
s921_core.c V4L/DVB (9366): Move S921 driver to the proper place and allow it to compile 2008-12-29 17:53:13 -02:00
s921_core.h V4L/DVB (9366): Move S921 driver to the proper place and allow it to compile 2008-12-29 17:53:13 -02:00
s921_module.c V4L/DVB (10662): remove redundant memset after kzalloc 2009-03-30 12:42:52 -03:00
s921_module.h V4L/DVB (9366): Move S921 driver to the proper place and allow it to compile 2008-12-29 17:53:13 -02:00
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 V4L/DVB (9017): Add support for Silicon Laboratories SI2109/2110 demodulators. 2008-10-12 09:37:06 -02:00
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 V4L/DVB (9450): Code Review: #4 Consolidate configurations 2008-12-29 17:53:22 -02:00
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 V4L/DVB (9462): Allow specifying clock per device 2008-12-29 17:53:23 -02:00
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 V4L/DVB (9468): Miscellaneous fixes 2008-12-29 17:53:24 -02:00
stb6000.c V4L/DVB (9175): Remove NULL pointer in stb6000 driver. 2008-10-13 12:26:25 -02:00
stb6000.h V4L/DVB (9026): Add support for ST STV0288 demodulator and cards with it. 2008-10-12 09:37:07 -02:00
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 V4L/DVB (9417): DVB_ATTACH for STB0899, STB6100, TDA8261 2008-12-29 17:53:18 -02:00
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 V4L/DVB (9174): Allow custom inittab for ST STV0288 demodulator. 2008-10-13 12:26:01 -02:00
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 V4L/DVB (9026): Add support for ST STV0288 demodulator and cards with it. 2008-10-12 09:37:07 -02:00
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 V4L/DVB (8334): tda10023: Fix typo in tda10023_attach dummy routine 2008-07-20 07:25:08 -03:00
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 V4L/DVB (9450): Code Review: #4 Consolidate configurations 2008-12-29 17:53:22 -02:00
tda8261.c V4L/DVB (9457): Optimization, Fix a Bug 2008-12-29 17:53:23 -02:00
tda8261.h V4L/DVB (9450): Code Review: #4 Consolidate configurations 2008-12-29 17:53:22 -02:00
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 V4L/DVB (8030): TDA10023: make TS output mode configurable 2008-07-20 07:09:24 -03:00
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 V4L/DVB (8890): budget: Add callback to load firmware for the TDHD1 tuner 2008-10-12 09:36:57 -02:00
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 V4L/DVB (9296): Patch to remove warning message during cx88-dvb compilation 2008-10-17 17:41:30 -03:00
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